/* ==========================================================================
   Terrace — coastal villa development template · archesign.studio
   1. Tokens  2. Base  3. Header  4. Components  5. Pages  6. Footer  7. Responsive
   ========================================================================== */

/* 1. Tokens ---------------------------------------------------------------- */
:root {
  --foam: #f7f3ea;
  --sand: #e8dcc4;
  --dune: #cdb994;
  --sea: #0f4c6e;
  --deep: #0a3550;
  --aqua: #5fa8c2;
  --sun: #e39a36;
  --ink: #10283a;
  --muted: #5b6b72;

  --font-display: "Marcellus", "Trajan Pro", Georgia, serif;
  --font-sans: "Cabin", "Helvetica Neue", Arial, sans-serif;

  --gutter: clamp(16px, 3.4vw, 52px);
  --max: 1380px;
  --space: clamp(80px, 10vw, 150px);
  --radius: 28px;
  --ease: cubic-bezier(.33, .7, .25, 1);

  /* wave edges (top of sea-coloured blocks) */
  --wave-sea: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 22' preserveAspectRatio='none'%3E%3Cpath d='M0 12C20 2 40 2 60 12s40 10 60 0v10H0z' fill='%230f4c6e'/%3E%3C/svg%3E");
  --wave-deep: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 22' preserveAspectRatio='none'%3E%3Cpath d='M0 12C20 2 40 2 60 12s40 10 60 0v10H0z' fill='%230a3550'/%3E%3C/svg%3E");
  --wave-sand: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 22' preserveAspectRatio='none'%3E%3Cpath d='M0 12C20 2 40 2 60 12s40 10 60 0v10H0z' fill='%23e8dcc4'/%3E%3C/svg%3E");
}

/* 2. Base ------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--foam); color: var(--ink); font: 400 17px/1.7 var(--font-sans); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1.1em; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 400; line-height: 1.04; letter-spacing: .005em; margin: 0; }
h1 em, h2 em, h3 em { font-style: normal; color: var(--aqua); }
h4 { font: 700 12px var(--font-sans); letter-spacing: .2em; text-transform: uppercase; margin: 0 0 12px; color: var(--sun); }
figure { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--sun); outline-offset: 3px; }
::selection { background: var(--aqua); color: var(--foam); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--sea); color: var(--foam); padding: 10px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--space) 0; position: relative; }
.section--tight { padding-top: 0; }
.section--sand { background: var(--sand); }
.section--sea { background: var(--sea); color: var(--foam); }
.section--sand::before, .section--sea::before, .sea-band::before, .site-footer::before { content: ""; position: absolute; left: 0; right: 0; top: -21px; height: 22px; background-size: 120px 22px; background-repeat: repeat-x; pointer-events: none; }
.section--sand::before { background-image: var(--wave-sand); }
.section--sea::before, .sea-band::before { background-image: var(--wave-sea); }
.section--sea h2 em, .section--sea h3 em { color: var(--sand); }
.over { display: flex; align-items: center; gap: 12px; font: 700 12px var(--font-sans); letter-spacing: .22em; text-transform: uppercase; color: var(--sea); margin: 0 0 22px; }
.over::before { content: ""; width: 30px; height: 8px; flex: none; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 8'%3E%3Cpath d='M1 5c3.5-4 7-4 10.5 0s7 4 10.5 0 5-3 7-2' fill='none' stroke='%23e39a36' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat center / contain; }
.over a { text-decoration: underline; text-underline-offset: 4px; }
.over--sun { color: var(--sun); }
.lead { font-size: clamp(18px, 1.6vw, 21px); line-height: 1.6; max-width: 54ch; color: var(--muted); }
.section--sea .lead, .section--sea p { color: #d5e4ea; }
.wavy { display: inline-block; font-weight: 700; color: var(--sea); text-decoration: underline wavy var(--sun); text-decoration-thickness: 1.5px; text-underline-offset: 7px; transition: color .3s; }
.wavy:hover { color: var(--aqua); }
.small { font-size: 14px; color: var(--muted); }

/* 3. Header ---------------------------------------------------------------- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--foam); border-bottom: 1px solid var(--dune); }
.header-row { display: flex; align-items: center; gap: 32px; height: 84px; }
.logo { display: flex; align-items: center; gap: 12px; margin-right: auto; }
.logo-mark { width: 38px; height: 38px; fill: none; stroke: var(--sea); stroke-width: 2; stroke-linecap: round; }
.logo-mark circle { fill: var(--sun); stroke: none; }
.logo-text { display: flex; flex-direction: column; line-height: 1; }
.logo-name { font-family: var(--font-display); font-size: 26px; letter-spacing: .02em; }
.logo-sub { font: 700 10px var(--font-sans); letter-spacing: .42em; text-transform: uppercase; color: var(--aqua); margin-top: 5px; }
.nav { display: flex; gap: 34px; }
.nav a { font-size: 15px; font-weight: 500; padding: 6px 0; text-underline-offset: 8px; }
.nav a:hover, .nav a[aria-current="page"] { text-decoration: underline wavy var(--sun); text-decoration-thickness: 1.5px; }
.menu-btn, .m-menu { display: none; }

/* 4. Components ------------------------------------------------------------ */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 15px 28px; border-radius: 999px; border: 0; font: 700 14px var(--font-sans); letter-spacing: .08em; text-transform: uppercase; cursor: pointer; transition: background .3s var(--ease), color .3s var(--ease); }
.btn--sea { background: var(--sea); color: var(--foam); }
.btn--sea:hover { background: var(--aqua); }
.btn--sand { background: var(--sand); color: var(--deep); }
.btn--sand:hover { background: var(--sun); }
.btn-row { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 28px; margin-top: 34px; }
.head { margin-bottom: clamp(36px, 5vw, 64px); }
.head h2 { font-size: clamp(38px, 5vw, 76px); max-width: 18ch; }
.head--row { display: flex; justify-content: space-between; align-items: end; flex-wrap: wrap; gap: 20px 40px; }
.capsule img { width: 100%; aspect-ratio: 9 / 14; object-fit: cover; border-radius: 999px; }
.round-frame img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
.arch-frame img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--radius); }
.porthole img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 50%; border: 8px solid var(--sand); }
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity 1.1s var(--ease), transform 1.1s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* 5. Pages ----------------------------------------------------------------- */
/* hero */
.hero { background: linear-gradient(180deg, #efe4cf 0%, var(--foam) 70%); padding: clamp(48px, 7vw, 104px) 0 clamp(70px, 8vw, 120px); }
.hero-inner { text-align: center; display: flex; flex-direction: column; align-items: center; }
.hero h1 { font-size: clamp(50px, 8.2vw, 132px); max-width: 13ch; margin-bottom: 26px; }
.hero .lead { margin-left: auto; margin-right: auto; }
.hero .btn-row { justify-content: center; }
.horizon { position: relative; margin-top: clamp(48px, 6vw, 88px); }
.horizon img { width: 100%; aspect-ratio: 2 / 1; object-fit: cover; border-radius: 36px; }
.horizon::after { content: ""; position: absolute; top: clamp(-44px, -3vw, -24px); right: 7%; width: clamp(64px, 9vw, 130px); aspect-ratio: 1; border-radius: 50%; background: var(--sun); box-shadow: 0 0 0 14px rgba(227, 154, 54, .18); }
.horizon--short { margin-top: 0; }
.horizon--short img { aspect-ratio: 21 / 9; }

/* sea band facts */
.sea-band { position: relative; background: var(--sea); color: var(--foam); padding: clamp(48px, 6vw, 80px) 0; }
.facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.facts li { display: grid; grid-template-columns: 48px 1fr; column-gap: 16px; align-items: center; }
.facts b { font-family: var(--font-display); font-weight: 400; font-size: clamp(34px, 3.4vw, 50px); line-height: 1; }
.facts li > span:last-child { grid-column: 2; font-size: 15px; color: #c7dbe3; }
.ico { grid-row: span 2; width: 48px; height: 48px; border-radius: 50%; border: 1.5px solid rgba(232, 220, 196, .5); background-repeat: no-repeat; background-position: center; background-size: 26px; }
.ico--sun { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 26 26' fill='none' stroke='%23e39a36' stroke-width='1.6' stroke-linecap='round'%3E%3Ccircle cx='13' cy='13' r='5' fill='%23e39a36'/%3E%3Cpath d='M13 1v3M13 22v3M1 13h3M22 13h3M4.5 4.5l2 2M19.5 19.5l2 2M4.5 21.5l2-2M19.5 6.5l2-2'/%3E%3C/svg%3E"); }
.ico--wave { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 26 26' fill='none' stroke='%23e8dcc4' stroke-width='1.6' stroke-linecap='round'%3E%3Cpath d='M2 10c3-3 6-3 9 0s6 3 9 0 4-2 4-2M2 16c3-3 6-3 9 0s6 3 9 0 4-2 4-2'/%3E%3C/svg%3E"); }
.ico--path { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 26 26' fill='none' stroke='%23e8dcc4' stroke-width='1.6' stroke-linecap='round' stroke-dasharray='2 3'%3E%3Cpath d='M4 23c4-5 2-9 8-11s7-6 10-10'/%3E%3C/svg%3E"); }
.ico--plane { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 26 26' fill='none' stroke='%23e8dcc4' stroke-width='1.5' stroke-linejoin='round'%3E%3Cpath d='M3 14l20-8-6 16-4-6z M13 16l10-10'/%3E%3C/svg%3E"); }

/* intro / duo */
.intro, .duo { display: grid; grid-template-columns: 4fr 7fr; gap: clamp(40px, 7vw, 120px); align-items: center; }
.duo--text-first { grid-template-columns: 7fr 4fr; }
.intro h2, .duo h2 { font-size: clamp(36px, 4.4vw, 66px); margin-bottom: 26px; }
.intro-text p:not(.over), .duo p:not(.over) { color: var(--muted); max-width: 56ch; }
.duo .round-frame img { aspect-ratio: 4 / 3.4; }

/* terrace levels */
.levels { display: grid; }
.lvl { --w: 100%; position: relative; width: var(--w); display: grid; grid-template-columns: minmax(150px, 190px) 1fr auto; align-items: center; gap: 8px 24px; padding: 24px 28px; border-top: 3px solid var(--dune); border-right: 3px solid var(--dune); border-top-right-radius: 14px; transition: background .4s var(--ease), padding .4s var(--ease); }
.lvl:hover { padding-left: 40px; }
.lvl--d { --w: 52%; background: var(--foam); }
.lvl--c { --w: 66%; background: #f1eadb; }
.lvl--b { --w: 80%; background: #ebe1cc; }
.lvl--a { --w: 96%; background: #e2d4b6; }
.lvl:hover { background: #fffaf0; }
.lvl-k { font: 700 12px var(--font-sans); letter-spacing: .18em; text-transform: uppercase; color: var(--sea); }
.lvl b { font-family: var(--font-display); font-weight: 400; font-size: clamp(26px, 2.6vw, 38px); line-height: 1.05; }
.lvl-c { font-size: 15px; color: var(--muted); text-align: right; }
.lvl-sea { position: relative; height: 92px; background: repeating-linear-gradient(180deg, var(--sea) 0 14px, #165a80 14px 16px); border-radius: 0 0 22px 22px; display: flex; align-items: center; justify-content: flex-end; padding: 0 28px; }
.lvl-sea::before { content: ""; position: absolute; left: 0; right: 0; top: -13px; height: 14px; background: var(--wave-sea) repeat-x; background-size: 80px 14px; }
.lvl-sea span { color: var(--sand); font: 700 12px var(--font-sans); letter-spacing: .2em; text-transform: uppercase; }

/* villa cards stepping down */
.steps-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 40px); align-items: start; }
.steps-cards .vcard:nth-child(2) { margin-top: 70px; }
.steps-cards .vcard:nth-child(3) { margin-top: 140px; }
.vcard .arch-frame { margin-bottom: 20px; }
.vcard img { transition: transform .8s var(--ease); }
.vcard:hover img { transform: scale(1.02); }
.vcard-k { font: 700 12px var(--font-sans); letter-spacing: .18em; text-transform: uppercase; color: var(--aqua); margin-bottom: 8px; }
.vcard h3 { font-size: clamp(30px, 3vw, 42px); margin-bottom: 6px; }
.vcard-m { color: var(--muted); font-size: 15px; }

/* life on sea */
.life { display: grid; grid-template-columns: 5fr 6fr; gap: clamp(40px, 6vw, 100px); align-items: center; }
.life blockquote { margin: 0; font-family: var(--font-display); font-size: clamp(28px, 3.2vw, 46px); line-height: 1.22; }
.cite { margin-top: 26px; font: 700 12px var(--font-sans); letter-spacing: .2em; text-transform: uppercase; color: var(--sun) !important; }

/* near */
.near { display: grid; grid-template-columns: 5fr 6fr; gap: clamp(40px, 6vw, 100px); align-items: start; }
.near h2 { font-size: clamp(36px, 4.4vw, 64px); margin-bottom: 26px; }
.distances { margin: 0; }
.distances div { display: flex; justify-content: space-between; gap: 16px; padding: 16px 0; border-bottom: 1px dashed var(--dune); }
.distances div:first-child { border-top: 1px dashed var(--dune); }
.distances dt { font-size: 17px; }
.distances dd { margin: 0; font-family: var(--font-display); font-size: 22px; color: var(--sea); white-space: nowrap; }
.cta-wrap { padding-bottom: var(--space); }
.cta-box { position: relative; overflow: hidden; text-align: center; background: var(--sand); border-radius: 40px; padding: clamp(48px, 7vw, 100px) var(--gutter); }
.cta-box::after { content: ""; position: absolute; left: 50%; bottom: -120px; width: 240px; height: 240px; margin-left: -120px; border-radius: 50%; background: var(--sun); opacity: .22; }
.cta-box .over { justify-content: center; }
.cta-box h2 { font-size: clamp(40px, 5.6vw, 84px); margin-bottom: 20px; }
.cta-box p:not(.over) { max-width: 48ch; margin: 0 auto 30px; color: var(--muted); }
.cta-box .btn { position: relative; z-index: 1; }

/* page head */
.page-head { padding: clamp(56px, 8vw, 116px) 0 clamp(36px, 5vw, 70px); }
.page-head h1 { font-size: clamp(50px, 8.4vw, 132px); margin-bottom: 26px; }

/* villas list */
.filters { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding: 0 0 36px; margin-bottom: 36px; border-bottom: 1px solid var(--dune); }
.filters-k { font: 700 12px var(--font-sans); letter-spacing: .2em; text-transform: uppercase; color: var(--muted); margin-right: 8px; }
.filters button { min-width: 50px; height: 50px; padding: 0 18px; border-radius: 999px; border: 1.5px solid var(--sea); background: transparent; color: var(--sea); font: 700 16px var(--font-sans); cursor: pointer; transition: background .3s, color .3s; }
.filters button:hover { background: var(--sand); }
.filters button[aria-pressed="true"] { background: var(--sea); color: var(--foam); }
.vlist { display: grid; gap: 24px; }
.vrow { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(24px, 4vw, 64px); align-items: center; padding: 20px; border-radius: 36px; transition: background .4s; }
.vrow:hover, .vrow--feature { background: var(--sand); }
.vrow h2 { font-size: clamp(32px, 3.4vw, 50px); margin-bottom: 12px; }
.vrow-body > p:not(.vcard-k) { color: var(--muted); max-width: 54ch; }
.spec { display: grid; grid-template-columns: repeat(4, 1fr); margin: 20px 0; border-top: 1px dashed var(--dune); border-bottom: 1px dashed var(--dune); }
.spec div { padding: 14px 12px 12px 0; }
.spec dt { font: 700 11px var(--font-sans); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.spec dd { margin: 4px 0 0; font-family: var(--font-display); font-size: 22px; line-height: 1.15; }
.vrow-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; }
.vrow-foot p { margin: 0; }
.from { font-size: 15px; color: var(--muted); }
.from b { font-family: var(--font-display); font-weight: 400; font-size: 30px; color: var(--ink); margin-left: 4px; }
.avail { font: 700 12px var(--font-sans); letter-spacing: .08em; text-transform: uppercase; background: rgba(95, 168, 194, .2); color: var(--sea); padding: 6px 12px; border-radius: 999px; }
.fine { font-size: 13px; color: var(--muted); margin-top: 28px; }
.site-card { background: var(--sand); border-radius: 40px; padding: clamp(16px, 2.4vw, 32px); }
.site-card img { width: 100%; border-radius: 26px; }
.site-card figcaption { display: flex; gap: 12px 32px; flex-wrap: wrap; align-items: center; padding: 22px 8px 4px; color: var(--muted); }
.site-card figcaption .over { margin: 0; }

/* villa detail */
.keybar { display: grid; grid-template-columns: repeat(6, 1fr); margin: 32px 0 0; border-top: 1px solid var(--dune); border-bottom: 1px solid var(--dune); }
.keybar div { padding: 20px 16px 18px; border-left: 1px dashed var(--dune); }
.keybar div:first-child { border-left: 0; padding-left: 0; }
.keybar dt { font: 700 11px var(--font-sans); letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.keybar dd { margin: 6px 0 0; font-family: var(--font-display); font-size: clamp(22px, 2.2vw, 30px); line-height: 1.1; }
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(16px, 3vw, 40px); }
.plan-card { background: #fffdf8; border: 1px solid var(--dune); border-radius: var(--radius); padding: clamp(12px, 2vw, 24px); }
.plan-card img { width: 100%; border-radius: 14px; }
.plan-card figcaption { margin-top: 14px; color: var(--muted); font-size: 15px; }
.plan-card b { display: block; font-family: var(--font-display); font-weight: 400; font-size: 26px; color: var(--ink); }
.areas-grid { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(40px, 6vw, 100px); align-items: start; }
.areas-wrap h2 { font-size: clamp(34px, 3.6vw, 52px); margin-bottom: 20px; }
.areas { width: 100%; border-collapse: collapse; }
.areas th, .areas td { text-align: left; font-weight: 400; padding: 10px 0; border-bottom: 1px dashed var(--dune); }
.areas td { text-align: right; font-family: var(--font-display); font-size: 20px; }
.areas thead th { font: 700 11px var(--font-sans); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.areas thead th:last-child { text-align: right; }
.areas .grp th { padding-top: 24px; font: 700 12px var(--font-sans); letter-spacing: .18em; text-transform: uppercase; color: var(--sea); border-bottom: 1px solid var(--sea); }
.areas tfoot th, .areas tfoot td { border-bottom: 0; border-top: 2px solid var(--sea); font-family: var(--font-display); font-size: 26px; padding-top: 16px; }
.orient { background: var(--foam); border-radius: 36px; padding: clamp(24px, 3vw, 40px); }
.compass { position: relative; width: 190px; height: 190px; border-radius: 50%; border: 1.5px solid var(--sea); margin-bottom: 26px; background: radial-gradient(circle, var(--foam) 0 4px, transparent 5px); }
.compass-arc { position: absolute; inset: 12px; border-radius: 50%; background: conic-gradient(from 155deg, rgba(95, 168, 194, .55) 0 120deg, transparent 120deg 360deg); }
.compass-needle { position: absolute; left: calc(50% - 1.5px); bottom: 50%; width: 3px; height: 44%; background: var(--sun); border-radius: 3px; transform-origin: 50% 100%; transform: rotate(215deg); }
.compass-n { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: var(--foam); padding: 0 6px; font: 700 13px var(--font-sans); color: var(--sea); line-height: 22px; }
.orient h3 { font-size: 30px; margin-bottom: 10px; }
.orient p { color: var(--muted); }
.mini { margin: 0; }
.mini div { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-top: 1px dashed var(--dune); }
.mini dd { margin: 0; font-weight: 700; }
.feat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(20px, 3vw, 40px); }
.feat { border-top: 2px solid var(--sea); padding-top: 22px; }
.feat h3 { font-size: 28px; margin-bottom: 12px; }
.feat p { color: var(--muted); font-size: 16px; }
.plots { width: 100%; border-collapse: collapse; margin-top: 10px; }
.plots th, .plots td { text-align: left; font-weight: 400; padding: 14px 10px 14px 0; border-bottom: 1px dashed var(--dune); }
.plots thead th { font: 700 11px var(--font-sans); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.plots tbody th { font-family: var(--font-display); font-size: 22px; }
.status { display: inline-block; font: 700 11px var(--font-sans); letter-spacing: .1em; text-transform: uppercase; padding: 5px 11px; border-radius: 999px; white-space: nowrap; }
.status--free { background: rgba(95, 168, 194, .25); color: var(--sea); }
.status--sold { background: var(--sand); color: var(--muted); text-decoration: line-through; }
.status--show { background: var(--sun); color: var(--deep); }
.next { display: block; text-align: center; border-top: 1px solid var(--dune); padding-top: 56px; }
.next .over { justify-content: center; }
.next-t { display: block; font-family: var(--font-display); font-size: clamp(48px, 8vw, 120px); line-height: 1; transition: color .3s; }
.next:hover .next-t { color: var(--sea); }
.next-m { display: block; margin-top: 16px; color: var(--muted); }

/* about */
.principles { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 4vw, 56px); }
.pn { display: block; font-family: var(--font-display); font-size: 64px; line-height: 1; color: var(--sun); margin-bottom: 18px; }
.principles h3 { font-size: 32px; margin-bottom: 12px; }
.note { margin: 0; color: var(--muted); }
.past { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 40px); }
.past-card .round-frame { margin-bottom: 18px; }
.past-card h3 { font-size: 32px; }
.team { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(40px, 6vw, 100px); align-items: start; }
.team h2 { font-size: clamp(36px, 4.4vw, 64px); margin-bottom: 22px; }
.team p { color: var(--muted); max-width: 44ch; }
.people { display: grid; grid-template-columns: 1fr 1fr; gap: 0 32px; }
.people li { display: flex; flex-direction: column; padding: 18px 0; border-top: 1px dashed var(--dune); }
.people b { font-family: var(--font-display); font-weight: 400; font-size: 26px; }
.people span { color: var(--muted); font-size: 15px; }
.partners { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.partners li { background: var(--sand); border-radius: 24px; padding: 24px; font-family: var(--font-display); font-size: clamp(22px, 2vw, 28px); line-height: 1.15; }
.partners span { display: block; font: 700 11px var(--font-sans); letter-spacing: .18em; text-transform: uppercase; color: var(--sea); margin-bottom: 20px; }

/* cove */
.amen { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.amen-card { background: var(--sand); border-radius: 32px; padding: 32px 30px 26px; transition: background .4s, transform .4s var(--ease); }
.amen-card:hover { background: #e2d2b2; transform: translateY(-4px); }
.amen-i { display: block; font-family: var(--font-display); font-size: 44px; color: var(--sea); line-height: 1; margin-bottom: 40px; }
.amen-card h3 { font-size: 32px; margin-bottom: 10px; }
.amen-card p { color: var(--muted); margin: 0; }
.loc { display: grid; grid-template-columns: 6fr 5fr; gap: clamp(40px, 6vw, 100px); align-items: start; }
.loc h2 { font-size: clamp(36px, 4.4vw, 64px); margin-bottom: 22px; }
.round-frame--map { margin-top: 36px; }
.round-frame--map img { aspect-ratio: 14 / 9; }
.route { position: relative; padding-left: 4px; }
.route::before { content: ""; position: absolute; left: 11px; top: 14px; bottom: 14px; border-left: 2px dashed rgba(232, 220, 196, .45); }
.route li { position: relative; padding: 14px 0 18px 46px; }
.route li::before { content: ""; position: absolute; left: 3px; top: 24px; width: 18px; height: 18px; border-radius: 50%; background: var(--sea); border: 2px solid var(--sand); }
.route li:first-child::before { background: var(--sun); border-color: var(--sun); }
.route b { display: block; font-family: var(--font-display); font-weight: 400; font-size: clamp(32px, 3vw, 44px); color: var(--sand); line-height: 1.1; }
.route span { color: #c7dbe3; }
.checks li { position: relative; padding: 12px 0 12px 44px; border-bottom: 1px dashed var(--dune); color: var(--muted); }
.checks li::before { content: ""; position: absolute; left: 0; top: 19px; width: 28px; height: 10px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 8'%3E%3Cpath d='M1 5c3.5-4 7-4 10.5 0s7 4 10.5 0 5-3 7-2' fill='none' stroke='%230f4c6e' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat center / contain; }
.buy { display: grid; grid-template-columns: repeat(5, 1fr); gap: 24px; }
.buy b { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; background: var(--sea); color: var(--foam); font-family: var(--font-display); font-weight: 400; font-size: 24px; margin-bottom: 20px; }
.buy h3 { font-size: 28px; margin-bottom: 8px; }
.buy p { color: var(--muted); font-size: 16px; }
.faq-grid { display: grid; grid-template-columns: 4fr 8fr; gap: clamp(40px, 6vw, 100px); }
.faq-grid h2 { font-size: clamp(38px, 4.6vw, 66px); }
.faq details { border-bottom: 1px dashed var(--dune); }
.faq details:first-child { border-top: 1px dashed var(--dune); }
.faq summary { display: block; position: relative; list-style: none; cursor: pointer; padding: 22px 56px 22px 0; font-family: var(--font-display); font-size: clamp(21px, 2vw, 27px); line-height: 1.25; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); width: 38px; height: 38px; border-radius: 50%; border: 1.5px solid var(--sea); color: var(--sea); display: grid; place-items: center; font: 400 22px/1 var(--font-sans); }
.faq details[open] summary::after { content: "−"; background: var(--sea); color: var(--foam); }
.faq details p { color: var(--muted); max-width: 64ch; padding-bottom: 14px; }

/* visit form */
.visit { display: grid; grid-template-columns: 7fr 4fr; gap: clamp(40px, 6vw, 100px); align-items: start; }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 22px; background: var(--sand); border-radius: 36px; padding: clamp(22px, 3.4vw, 48px); }
.field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.field--full { grid-column: 1 / -1; }
.field > label { font: 700 12px var(--font-sans); letter-spacing: .14em; text-transform: uppercase; color: var(--sea); }
.field input, .field select, .field textarea { width: 100%; min-width: 0; font: 400 17px var(--font-sans); color: var(--ink); background: var(--foam); border: 1px solid var(--dune); border-radius: 14px; padding: 14px 16px; appearance: none; -webkit-appearance: none; }
.field select { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9'%3E%3Cpath d='M1 1l6 6 6-6' fill='none' stroke='%230f4c6e' stroke-width='1.6'/%3E%3C/svg%3E") no-repeat right 16px center, var(--foam); padding-right: 42px; }
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--sea); box-shadow: 0 0 0 3px rgba(95, 168, 194, .35); }
.check { display: flex; gap: 12px; align-items: flex-start; cursor: pointer; }
.check input { width: 20px; height: 20px; flex: none; margin: 3px 0 0; padding: 0; accent-color: var(--sea); appearance: auto; -webkit-appearance: auto; }
.form-note { grid-column: 1 / -1; margin: 0; padding: 16px 20px; border-radius: 16px; background: var(--sea); color: var(--foam); }
.lounge .porthole { max-width: 240px; margin-bottom: 28px; }
.lounge h2 { font-size: 40px; margin-bottom: 12px; }
.lounge p { color: var(--muted); }
.lounge .wavy { margin-bottom: 6px; }
.distances--small { margin-bottom: 24px; }
.distances--small dd { font-size: 18px; }

/* 6. Footer ---------------------------------------------------------------- */
.site-footer { position: relative; background: var(--deep); color: var(--foam); margin-top: 22px; padding: clamp(64px, 8vw, 110px) 0 28px; }
.site-footer::before { background-image: var(--wave-deep); }
.f-top { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 22px; padding-bottom: 56px; border-bottom: 1px solid rgba(232, 220, 196, .2); }
.f-coords { margin: 0; font: 700 12px var(--font-sans); letter-spacing: .3em; color: var(--sun); }
.f-title { margin: 0; font-family: var(--font-display); font-size: clamp(40px, 5.6vw, 84px); line-height: 1.05; }
.f-cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; padding: 48px 0 36px; color: #c7dbe3; font-size: 16px; }
.f-cols a:hover { color: var(--sun); }
.f-base { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding-top: 22px; border-top: 1px solid rgba(232, 220, 196, .2); font-size: 13px; color: #8fb0bf; }

/* 7. Responsive ------------------------------------------------------------ */
@media (max-width: 1180px) {
  .buy { grid-template-columns: repeat(3, 1fr); }
  .feat-grid, .partners { grid-template-columns: repeat(2, 1fr); }
  .keybar { grid-template-columns: repeat(3, 1fr); }
  .keybar div:nth-child(4) { border-left: 0; padding-left: 0; }
  .keybar div:nth-child(n+4) { border-top: 1px dashed var(--dune); }
  .facts { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 980px) {
  .nav, .header-cta { display: none; }
  .header-row { height: 72px; }
  .menu-btn { display: inline-grid; place-items: center; position: relative; z-index: 60; width: 50px; height: 50px; border-radius: 50%; border: 0; background: var(--sea); cursor: pointer; }
  .bars { display: grid; gap: 6px; width: 20px; }
  .bars i { display: block; height: 2px; background: var(--foam); border-radius: 2px; transition: transform .35s var(--ease); }
  .menu-open .menu-btn { background: var(--sun); }
  .menu-open .bars i:first-child { transform: translateY(4px) rotate(45deg); }
  .menu-open .bars i:last-child { transform: translateY(-4px) rotate(-45deg); }
  .m-menu { display: flex; flex-direction: column; justify-content: center; position: fixed; inset: 0; z-index: 55; background: var(--sea); color: var(--foam); padding: 100px var(--gutter) 40px; overflow-y: auto; opacity: 0; visibility: hidden; transition: opacity .5s var(--ease), visibility .5s; }
  .m-menu::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 90px; background: repeating-linear-gradient(180deg, transparent 0 14px, rgba(232, 220, 196, .12) 14px 16px); pointer-events: none; }
  .menu-open .m-menu { opacity: 1; visibility: visible; }
  .menu-open { overflow: hidden; }
  .m-links { display: flex; flex-direction: column; gap: 6px; }
  .m-links a { font-family: var(--font-display); font-size: clamp(36px, 9vw, 56px); line-height: 1.2; }
  .m-links a:hover { color: var(--sun); }
  .m-foot { margin: 36px 0 0; color: var(--sand); font-size: 15px; }
  .m-foot a { text-decoration: underline wavy var(--sun); text-underline-offset: 6px; }
}
@media (max-width: 860px) {
  body { font-size: 16px; }
  .intro, .duo, .duo--text-first, .life, .near, .vrow, .areas-grid, .team, .loc, .faq-grid, .visit { grid-template-columns: 1fr; }
  .intro .capsule, .duo .capsule { max-width: 340px; }
  .duo--text-first .capsule { order: -1; }
  .steps-cards { grid-template-columns: 1fr; gap: 44px; }
  .steps-cards .vcard:nth-child(n) { margin-top: 0; }
  .lvl { grid-template-columns: 1fr; gap: 2px; padding: 18px 20px; }
  .lvl-c { text-align: left; }
  .lvl--d { --w: 70%; }
  .lvl--c { --w: 80%; }
  .lvl--b { --w: 90%; }
  .lvl--a { --w: 100%; }
  .lvl:hover { padding-left: 20px; }
  .lvl-sea { height: 70px; padding: 0 20px; }
  .vrow { padding: 14px; border-radius: 28px; }
  .plans { grid-template-columns: 1fr; }
  .principles, .past { grid-template-columns: 1fr; }
  .amen { grid-template-columns: 1fr 1fr; }
  .f-cols { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .facts { grid-template-columns: 1fr; gap: 22px; }
  .filters-k { flex-basis: 100%; }
  .horizon img { aspect-ratio: 4 / 3; border-radius: 26px; }
  .horizon--short img { aspect-ratio: 4 / 3; }
  .spec { grid-template-columns: 1fr 1fr; }
  .spec div:nth-child(n+3) { border-top: 1px dashed var(--dune); }
  .keybar { grid-template-columns: 1fr 1fr; }
  .keybar div, .keybar div:nth-child(4) { border-left: 0; padding-left: 0; }
  .keybar div:nth-child(even) { border-left: 1px dashed var(--dune); padding-left: 16px; }
  .keybar div:nth-child(n+3) { border-top: 1px dashed var(--dune); }
  .feat-grid, .partners, .people, .amen, .buy { grid-template-columns: 1fr; }
  .form { grid-template-columns: 1fr; }
  .plots th, .plots td { padding-right: 6px; font-size: 15px; }
  .plots tbody th { font-size: 18px; }
  .compass { width: 160px; height: 160px; }
  .f-cols { grid-template-columns: 1fr; gap: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
