/* Nostos Media · site styles
   Palette: Espresso and Stone (Option 5). Type: Jost 300/400/500. */

:root {
  --ivory: #F3EEE5;
  --linen: #E6DED2;
  --taupe: #B9A58E;
  --espresso: #2B211C;
  --ink-2: #665A4F;
  --rule: #D9CFC0;
  --container: 1160px;
  --gutter: 24px;
  --font: 'Jost', 'Futura', 'Avenir Next', 'Century Gothic', system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 24px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--ivory);
  color: var(--espresso);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, video, picture { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--espresso); }
a:hover { color: var(--ink-2); }
input, select, textarea, button { font: inherit; color: inherit; }
h1, h2, h3, p, ul { margin: 0; }
ul { padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--espresso); outline-offset: 3px; }
.visually-hidden, .hp {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0; padding: 0; margin: -1px;
}
.skip {
  position: absolute; left: 16px; top: -60px; z-index: 50;
  background: var(--espresso); color: var(--ivory); padding: 10px 16px; text-decoration: none;
  font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase;
}
.skip:focus { top: 12px; color: var(--ivory); }

.wrap { max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }

/* type helpers */
.eyebrow { font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--ink-2); }
.h-display { font-size: 36px; font-weight: 300; line-height: 1.15; }
.h-card { font-size: 24px; font-weight: 400; line-height: 1.2; }
.lede { font-size: 16px; line-height: 1.6; color: var(--ink-2); }
.small-caps { font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; }

/* buttons */
.btn {
  display: inline-block; padding: 15px 30px; line-height: 20px; text-decoration: none; cursor: pointer;
  font-size: 14px; letter-spacing: 0.12em; text-transform: uppercase; border: 1px solid transparent;
  transition: background-color .18s ease, color .18s ease, border-color .18s ease;
}
.btn-dark { background: var(--espresso); color: var(--ivory); border-color: var(--espresso); }
.btn-dark:hover { background: #3a2d26; color: var(--ivory); }
.btn-light { background: var(--ivory); color: var(--espresso); border-color: var(--ivory); }
.btn-light:hover { background: var(--linen); color: var(--espresso); border-color: var(--linen); }
.btn-ghost-light { background: transparent; color: var(--ivory); border-color: var(--ivory); }
.btn-ghost-light:hover { background: rgba(243,238,229,.12); color: var(--ivory); }
.btn-outline { background: transparent; color: var(--espresso); border-color: var(--espresso); padding: 13px 24px; font-size: 13px; }
.btn-outline:hover { background: var(--espresso); color: var(--ivory); }
.btn-sm { padding: 13px 22px; font-size: 13px; }

/* header */
.site-header { position: relative; z-index: 20; }
.site-header .bar { display: flex; align-items: center; justify-content: space-between; gap: 16px 32px; padding: 22px 0; }
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; color: var(--espresso); }
.brand svg { width: 40px; height: 35px; flex: none; }
.brand span { font-size: 14px; font-weight: 500; letter-spacing: 0.24em; text-transform: uppercase; white-space: nowrap; }
.nav { display: flex; align-items: center; gap: 8px 28px; }
.nav a { font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; text-decoration: none; padding: 12px 0; line-height: 20px; }
.nav a:hover { color: var(--ink-2); }
.nav .btn { padding: 13px 22px; }
.nav .btn:hover { color: var(--ivory); }
.nav-toggle {
  display: none; align-items: center; gap: 10px; background: none; border: 1px solid var(--espresso);
  padding: 12px 14px; line-height: 20px; font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; cursor: pointer;
}
.nav-toggle .bars { position: relative; width: 18px; height: 12px; }
.nav-toggle .bars::before, .nav-toggle .bars::after, .nav-toggle .bars i {
  content: ""; position: absolute; left: 0; right: 0; height: 1.5px; background: currentColor;
}
.nav-toggle .bars::before { top: 0; } .nav-toggle .bars i { top: 5.25px; } .nav-toggle .bars::after { bottom: 0; }

@media (max-width: 840px) {
  .site-header .bar { padding: 16px 0; }
  .nav-toggle { display: inline-flex; }
  .nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%; z-index: 30;
    flex-direction: column; align-items: stretch; gap: 0; background: var(--ivory);
    border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); padding: 8px var(--gutter) 20px;
  }
  .nav.open { display: flex; }
  .nav a { padding: 14px 0; border-bottom: 1px solid var(--rule); }
  .nav a.btn { margin-top: 16px; border-bottom: 0; text-align: center; }
}

/* hero */
.hero {
  position: relative; min-height: 680px; display: flex; align-items: flex-end;
  background: var(--espresso); color: var(--ivory); overflow: hidden;
}
.hero picture, .hero img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero img { object-fit: cover; object-position: center 40%; }
.hero .scrim {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(43,33,28,.86) 0%, rgba(43,33,28,.52) 42%, rgba(43,33,28,.12) 100%);
}
.hero .wrap { position: relative; width: 100%; padding-top: 140px; padding-bottom: 72px; display: flex; flex-direction: column; gap: 24px; }
.hero .eyebrow { color: var(--linen); }
.hero h1 { font-size: clamp(38px, 5vw, 64px); font-weight: 300; line-height: 1.06; letter-spacing: -0.005em; max-width: 760px; color: var(--ivory); }
.hero .sub { font-size: 18px; line-height: 1.6; color: var(--linen); max-width: 600px; }
.hero .actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 6px; }
@media (max-width: 640px) {
  .hero { min-height: 82svh; }
  .hero .wrap { padding-top: 120px; padding-bottom: 48px; gap: 18px; }
  .hero h1 { font-size: clamp(34px, 9.5vw, 46px); }
  .hero .sub { font-size: 16px; }
  .hero .actions .btn { flex: 1 1 100%; text-align: center; }
}

/* proof strip */
.proof { display: flex; flex-wrap: wrap; gap: 12px 44px; padding: 22px 0; border-bottom: 1px solid var(--rule); }
.proof span { font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-2); }
@media (max-width: 640px) { .proof { gap: 10px 24px; } .proof span { font-size: 12px; } }

/* sections */
.section { padding-top: 96px; display: flex; flex-direction: column; gap: 40px; }
.section-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px 24px; }
.section-intro { display: flex; flex-direction: column; gap: 12px; max-width: 640px; }
@media (max-width: 640px) {
  .section { padding-top: 64px; gap: 28px; }
  .h-display { font-size: 30px; }
}

/* work */
#work { padding-top: 88px; gap: 36px; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.grid img, .strip img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; background: var(--linen); }
.more { padding-top: 72px; gap: 22px; }
.more h2 { font-size: 28px; font-weight: 300; line-height: 1.15; }
.strip { display: flex; gap: 10px; overflow-x: auto; padding-bottom: 10px; scroll-snap-type: x proximity; -webkit-overflow-scrolling: touch; scrollbar-width: thin; scrollbar-color: var(--taupe) transparent; }
.strip picture { flex: none; width: 180px; scroll-snap-align: start; }
@media (max-width: 640px) { #work { padding-top: 56px; } .grid { gap: 14px; } .strip picture { width: 150px; } }

/* video */
.motion { padding-top: 88px; display: flex; flex-wrap: wrap; align-items: center; gap: 40px 64px; }
.motion .copy { flex: 1 1 300px; min-width: 0; display: flex; flex-direction: column; gap: 18px; max-width: 420px; }
.motion .player { flex: 1 1 520px; min-width: 0; }
.motion video { width: 100%; aspect-ratio: 16 / 9; background: var(--espresso); }
@media (max-width: 640px) { .motion { padding-top: 56px; gap: 24px; } }

/* services */
.services { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 36px 32px; }
@media (min-width: 1100px) { .services { grid-template-columns: repeat(5, 1fr); gap: 36px 28px; } }
.service { border-top: 1px solid var(--taupe); padding-top: 22px; display: flex; flex-direction: column; gap: 12px; }
.service .num { font-size: 12px; letter-spacing: 0.2em; color: var(--ink-2); }
.service p { font-size: 15px; line-height: 1.6; color: var(--ink-2); }
.service .from { font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; margin-top: 4px; }

/* pricing */
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.plan { border: 1px solid var(--taupe); padding: 34px 30px; display: flex; flex-direction: column; gap: 18px; }
.plan .name { font-size: 13px; letter-spacing: 0.2em; text-transform: uppercase; }
.plan .top { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.plan .price { display: flex; flex-direction: column; gap: 4px; }
.plan .price b { font-size: 40px; font-weight: 300; line-height: 1.1; }
.plan .price span { font-size: 14px; color: var(--ink-2); }
.plan ul { margin-top: 4px; display: flex; flex-direction: column; gap: 10px; font-size: 15px; line-height: 1.5; }
.plan li { display: flex; align-items: baseline; gap: 12px; }
.plan li::before { content: ""; flex: none; width: 14px; height: 1px; background: var(--taupe); position: relative; top: -4px; }
.plan .btn { align-self: flex-start; margin-top: 10px; }
.plan-featured { background: var(--espresso); color: var(--ivory); border-color: var(--espresso); }
.plan-featured .price span, .plan-featured ul { color: var(--linen); }
.plan-featured .tag { font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--espresso); background: var(--linen); padding: 5px 10px; }
@media (max-width: 640px) { .plan { padding: 28px 22px; } .plan .price b { font-size: 36px; } }

.table-wrap { overflow-x: auto; border-top: 1px solid var(--taupe); -webkit-overflow-scrolling: touch; }
.price-table { width: 100%; min-width: 600px; border-collapse: collapse; font-size: 15px; }
.price-table th { text-align: right; padding: 16px 12px 12px; font-size: 12px; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-2); border-bottom: 1px solid var(--rule); white-space: nowrap; }
.price-table th:first-child { text-align: left; padding-left: 0; }
.price-table th:last-child { padding-right: 0; }
.price-table td { padding: 14px 12px; text-align: right; border-bottom: 1px solid var(--rule); white-space: nowrap; }
.price-table td:first-child { text-align: left; padding-left: 0; }
.price-table td:last-child { padding-right: 0; }
.price-table tr.muted td { color: var(--ink-2); }
.table-hint { display: none; font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-2); }
@media (max-width: 640px) { .table-hint { display: block; } }

.addons { display: flex; flex-direction: column; gap: 22px; }
.addon-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 0 64px; font-size: 15px; line-height: 1.5; }
@media (min-width: 900px) { .addon-grid { grid-template-columns: repeat(2, 1fr); } }
.addon { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--rule); }
.addon span:last-child { color: var(--ink-2); white-space: nowrap; }
@media (max-width: 400px) { .addon { flex-direction: column; gap: 2px; } .addon span:last-child { white-space: normal; } }
.policies { display: flex; flex-direction: column; gap: 8px; max-width: 720px; font-size: 14px; line-height: 1.6; color: var(--ink-2); }

/* about */
.about { padding-top: 96px; display: flex; flex-wrap: wrap; align-items: center; gap: 48px 64px; }
.about .photo { flex: 1 1 400px; min-width: 0; }
.about .photo img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; background: var(--linen); }
.about .copy { flex: 1 1 400px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.about h2 { max-width: 560px; }
.about p.body { font-size: 17px; line-height: 1.65; color: var(--ink-2); max-width: 560px; }
@media (max-width: 640px) { .about { padding-top: 64px; gap: 28px; } }

/* booking */
.book { margin-top: 96px; background: var(--linen); padding: 80px 0; }
.book .wrap { display: flex; flex-wrap: wrap; gap: 40px 64px; }
.book .intro { flex: 1 1 300px; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.book .intro p { max-width: 420px; }
.form { flex: 2 1 460px; min-width: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px 18px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-2); }
.field input, .field select, .field textarea {
  width: 100%; padding: 14px; border: 1px solid var(--taupe); background: var(--ivory); color: var(--espresso);
  font-size: 16px; border-radius: 0; appearance: none; -webkit-appearance: none;
}
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%232B211C' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; padding-right: 36px;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--espresso); outline-offset: 0; border-color: var(--espresso); }
.form .submit { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; }
.form .submit button { padding: 15px 30px; background: var(--espresso); color: var(--ivory); border: 0; font-size: 14px; letter-spacing: 0.12em; text-transform: uppercase; line-height: 20px; cursor: pointer; }
.form .submit button:hover { background: #3a2d26; }
.form .submit span { font-size: 14px; color: var(--ink-2); }
@media (max-width: 640px) { .book { margin-top: 64px; padding: 56px 0; } .book .wrap { gap: 28px; } .form .submit button { width: 100%; } }

/* footer */
.site-footer { padding: 52px 0 40px; display: flex; flex-direction: column; gap: 36px; }
.site-footer .row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 28px 48px; }
.site-footer .col { display: flex; flex-direction: column; gap: 16px; max-width: 420px; }
.site-footer .col p { font-size: 15px; line-height: 1.6; color: var(--ink-2); }
.site-footer .legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-top: 20px; border-top: 1px solid var(--rule); font-size: 13px; letter-spacing: 0.06em; color: var(--ink-2); }
.site-footer .legal a { color: var(--ink-2); text-decoration: none; }

/* simple pages (thanks, 404) */
.page { min-height: 60vh; display: flex; flex-direction: column; gap: 22px; padding: 96px 0 120px; max-width: 640px; }
.page .actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 8px; }
