/* The diagonal divides the typography and the uncropped school photograph. */
:root {
  --academy-pine: #425f53;
  --academy-ink: #222f29;
  --academy-white: #fffdfa;
  --display: "Arial Black", "DejaVu Sans", Arial, sans-serif;
}
body { background: var(--academy-white); color: var(--academy-ink); }
.mast { background: #344c43; color: white; box-shadow: none; }
.mast::after, .hero::after, .intro::before, .card::after { display: none; }
.head { min-height: 76px; }
.head .word, .head .word small { color: #ffe8b0; }
.head nav a, .cab, .btn, .chat {
  font: italic 800 .82rem/1.25 Arial,sans-serif;
  letter-spacing: .035em; text-transform: uppercase;
}
.head nav a:hover, .head a:hover { color: #ffe4a5; }
.cab { background: transparent; border: 1px solid #cfc4a5; }
.hero { background: #f5f0e6; grid-template-columns: 42% 58%; }
.hero::before {
  content: ""; position: absolute; inset: 0 55% 0 0;
  background: linear-gradient(110deg,#486354,#405b4e 62%,#344b42);
  clip-path: polygon(0 0,100% 0,91% 100%,0 100%); z-index: 1;
}
.hero .intro { padding: clamp(34px,4vw,76px) 8% clamp(34px,4vw,76px) max(9%,calc((100vw - 1280px)/2)); }
.hero .art { mask-image: none; }
.hero .eyebrow, .hero .lede { color: white; }
.hero .eyebrow::before { display: none; }
.hero-name { font-family: Georgia,serif; background-image: linear-gradient(165deg,#fff1c9 10%,#efc575 52%,#ffe7ab 72%,#e1ab55); }
.hero-motto, .section h2, .detail h1, .detail h2, .card h3, .step h3, .visualrow h3, .offers h3 {
  font-family: var(--display); font-weight: 900; font-style: italic;
  text-transform: uppercase; line-height: 1.02; letter-spacing: -.048em;
}
.hero-motto { color: white; text-shadow:none; font-size: clamp(32px,3.8vw,64px); }
.hero .lede { max-width: 42ch; line-height: 1.38; }
.hero .btn:not(.ghost), .hero .ghost { box-shadow:none; background:white; color:var(--academy-pine); border:1px solid white; }
.hero .ghost { color:white; background:transparent; }
.btn:not(.ghost), .chat { box-shadow:none; background:var(--academy-pine); color:white; border-color:var(--academy-pine); }
.section .ghost, .detail .ghost { color:var(--academy-ink); background:transparent; border-color:currentColor; }
.section h2, .detail h1, .detail h2, .card h3, .step h3 { color:var(--academy-ink); }
.section { padding-block:clamp(48px,6vw,100px); border-color:#dedad4; }
.section .eyebrow, .detail .eyebrow, .textlink, .crumb, .card span { color:var(--academy-pine); }
.section .eyebrow::before, .detail .eyebrow::before { background:var(--academy-pine)!important; }
#napravleniya { background:white; }
.grid { gap: clamp(24px,3vw,48px); }
.card { padding:0 0 24px; border:0; border-bottom:3px solid #34463c; border-radius:0; background:white; box-shadow:none; }
.grid .card:hover { border-color:var(--academy-pine); box-shadow:none; }
.cardphoto { width:100%; height:auto; aspect-ratio:auto; margin:0 0 20px; border:0; }
.card h3 { font-size:clamp(25px,2.7vw,43px); }
.card span { font-weight:bold; }
.card span::after { content:" ↗"; }
#metod { background:#f4f0eb; }
.visualrow { background:#34483e; border:0; border-radius:0; }
.visualrow h3 { color:white; }
.visualrow .prose p { color:#fbf4ef; }
.step, .prsection { border-image:none; border-top:3px solid var(--academy-pine); }
.exercise-figure, .offers article, .tablebox, .pick textarea, .pick select { border-radius:0; }
.exercise-figure { background:#35483e; box-shadow:none; border:0; }
.offers article { border:1px solid #cdc6bf; }
.tablebox { overflow-x:auto; }
.tablebox thead, .tablebox th small { color:white; background:#3d5147; }
.contact { background:#e8ede5; }
@media(max-width:850px) {
  .hero { grid-template-columns:1fr; background:linear-gradient(115deg,#486354,#344b42); }
  .hero::before { display:none; }
  .hero .intro { width:90%; padding:28px 0 36px; }
  .head { min-height:0; }
}
@media(max-width:480px) {
  .section h2, .detail h1 { font-size:clamp(29px,8.3vw,40px); overflow-wrap:break-word; }
  .cab { font-size:11px; padding:9px; }
  .hero .eyebrow { margin-bottom:6px; }
}

.head .word small {font:600 10px/1.2 Arial,sans-serif;letter-spacing:.035em;}
@media(max-width:410px){.head{column-gap:6px}.head .brand{gap:5px}.head .brand img{width:34px;height:auto}.head .word small{font-size:9px}}

#trip {margin:1.25rem 0;padding:1rem;border:1px solid #889788}
#trip label {display:block;margin-top:.8rem}
#trip input,#trip textarea {box-sizing:border-box;width:100%;padding:.65rem;font:inherit;border:1px solid #889788}
