/* Naos Beach Studio: tokens from the brand system */
@font-face { font-family: "Fraunces"; font-style: normal; font-weight: 500; font-display: swap; src: url("/assets/fonts/fraunces-500.woff2") format("woff2"); }
@font-face { font-family: "Nunito Sans"; font-style: normal; font-weight: 400 700; font-display: swap; src: url("/assets/fonts/nunito-sans-var.woff2") format("woff2"); }

:root {
  --shell: #F7F7F5;
  --surface: #FFFFFF;
  --sage-soft: #DCE6E3;
  --basalt: #3A3A3A;
  --ink-muted: #5E6566;
  --atlantic: #2F4F56;
  --on-atlantic: #F7F7F5;
  --atlantic-deep: #1E3439;
  --sage: #6B8F8A;
  --sun: #E3C27A;
  --line: #D9DEDC;
  --mint-wash: #EEF4F1;
  --sand: #F5ECD6;

  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-sans: "Nunito Sans", "Segoe UI", system-ui, sans-serif;

  --space-1: 4px; --space-2: 8px; --space-4: 16px; --space-6: 24px;
  --space-8: 32px; --space-12: 48px; --space-16: 64px;
  --radius-sm: 6px; --radius-md: 12px; --radius-lg: 24px; --radius-pill: 999px;

  --wrap: 1180px;
  --measure: 68ch;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--shell);
  color: var(--basalt);
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 27px;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--atlantic); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--sun); outline-offset: 3px; border-radius: 4px; }

h1, h2, .display { font-family: var(--font-display); font-weight: 500; color: var(--atlantic); margin: 0; }
h1 { font-size: clamp(34px, 5vw, 56px); line-height: 1.08; letter-spacing: -0.01em; }
h2 { font-size: clamp(26px, 3vw, 34px); line-height: 1.2; }
h3 { font-family: var(--font-sans); font-size: 20px; line-height: 26px; font-weight: 700; color: var(--atlantic); margin: 0; }
p { margin: 0 0 var(--space-4); }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--space-6); }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: var(--space-4); top: var(--space-4); background: var(--surface); padding: var(--space-2) var(--space-4); z-index: 10; }

/* Header */
.site-header { background: var(--shell); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: var(--space-4); min-height: 76px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--atlantic); }
.brand img { width: 56px; height: 56px; }
.brand span { font-family: var(--font-display); font-size: 22px; line-height: 1; font-weight: 500; color: var(--atlantic); }
.nav { display: flex; align-items: center; gap: var(--space-6); flex-wrap: wrap; }
.nav a { text-decoration: none; font-weight: 600; font-size: 15px; color: var(--basalt); }
.nav a:hover, .nav a[aria-current="page"] { color: var(--atlantic); text-decoration: underline; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2);
  padding: 12px 22px; border-radius: var(--radius-pill); font-weight: 700; font-size: 16px; line-height: 20px;
  text-decoration: none; border: 2px solid transparent; }
.btn-book { background: var(--sun); color: var(--atlantic-deep); }
.btn-book:hover { background: #EACF93; }
.btn-primary { background: var(--atlantic); color: var(--on-atlantic); }
.btn-primary:hover { background: var(--atlantic-deep); }
.btn-ghost { border-color: currentColor; color: var(--atlantic); }
.nav .btn { color: var(--atlantic-deep); padding: 9px 18px; font-size: 15px; }
.nav .btn:hover { text-decoration: none; }

/* Home hero: the horizon */
.hero { padding: var(--space-12) 0 var(--space-16); background: var(--mint-wash); }
.hero-grid > * { min-width: 0; }
.hero-grid { display: grid; grid-template-columns: 5fr 7fr; gap: var(--space-12); align-items: end; }
.hero h1 { margin-bottom: var(--space-6); }
.hero .lede { font-size: 19px; line-height: 30px; max-width: 34em; }
.hero .actions { display: flex; gap: var(--space-4); flex-wrap: wrap; margin-top: var(--space-8); }
.hero-photo { position: relative; }
.hero-photo img { background: var(--sage-soft); border-radius: var(--radius-lg); aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.hero-photo figcaption { font-size: 14px; line-height: 20px; color: var(--ink-muted); margin-top: var(--space-2); }

/* Facts strip */
.facts { background: var(--surface); padding: var(--space-8) 0; border-bottom: 1px solid var(--line); }
.facts ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-6); }
.facts li { font-size: 15px; line-height: 22px; }
.facts strong { display: block; font-family: var(--font-display); font-weight: 500; font-size: 24px; line-height: 30px; color: var(--atlantic); }

/* Sections */
.section { padding: var(--space-16) 0; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: var(--space-6); margin-bottom: var(--space-8); flex-wrap: wrap; }
.section-head p { max-width: 36em; margin: var(--space-2) 0 0; color: var(--ink-muted); }

/* Studio gallery */
.gallery { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: auto auto; gap: var(--space-4); }
.gallery figure { margin: 0; min-width: 0; }
.gallery img { border-radius: var(--radius-md); width: 100%; object-fit: cover; background: var(--sage-soft); }
.gallery .big img { height: calc(100% - 28px); }
.gallery .big { grid-row: span 2; }
.gallery .big img { min-height: 360px; }
.gallery .small img { aspect-ratio: 4 / 3; }
.gallery figcaption { font-size: 14px; line-height: 20px; color: var(--ink-muted); margin-top: var(--space-2); }
.studio-copy { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-12); margin-top: var(--space-8); }

/* Guides list */
.guides { display: grid; gap: var(--space-8); }
.guide > * { min-width: 0; }
.guide { display: grid; grid-template-columns: 320px 1fr; gap: var(--space-8); align-items: center;
  padding-bottom: var(--space-8); border-bottom: 1px solid var(--line); }
.guide:last-child { border-bottom: 0; }
.guide img { border-radius: var(--radius-md); aspect-ratio: 3 / 2; object-fit: cover; width: 100%; }
.guide h3 { font-family: var(--font-display); font-weight: 500; font-size: 26px; line-height: 32px; margin-bottom: var(--space-2); }
.guide h3 a { text-decoration: none; }
.guide h3 a:hover { text-decoration: underline; }
.guide p { max-width: 42em; }

/* Booking band */
.band { background: var(--sand); color: var(--basalt); padding: var(--space-16) 0; }
.band h2 { color: var(--atlantic); }
.band p { color: var(--basalt); max-width: 36em; }
.band-grid { display: grid; grid-template-columns: 1fr auto; gap: var(--space-8); align-items: center; }
.band .actions { display: flex; gap: var(--space-4); flex-wrap: wrap; }
.band .btn-ghost { color: var(--atlantic); }
.band .btn-book { background: var(--atlantic); color: var(--on-atlantic); }
.band .btn-book:hover { background: var(--atlantic-deep); }

/* Article */
.article-head { padding: var(--space-12) 0 var(--space-8); }
.article-head .kicker { color: var(--ink-muted); font-size: 15px; margin-bottom: var(--space-4); }
.article-head .kicker a { color: var(--ink-muted); }
.article-head h1 { max-width: 20em; }
.article-hero img { border-radius: var(--radius-lg); width: 100%; aspect-ratio: 16 / 7; object-fit: cover; }
.article-body { max-width: var(--measure); margin: var(--space-12) auto var(--space-16); }
.article-body h2 { margin: var(--space-12) 0 var(--space-4); }
.article-body h3 { margin: var(--space-8) 0 var(--space-2); }
.article-body ul { padding-left: 1.2em; margin: 0 0 var(--space-6); }
.article-body li { margin-bottom: var(--space-2); }
.article-body .intro { font-size: 20px; line-height: 32px; color: var(--basalt); }
.callout { background: var(--sage-soft); border-radius: var(--radius-md); padding: var(--space-6); margin: var(--space-8) 0; }
.callout p:last-child { margin-bottom: 0; }
.stay-note { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: var(--space-6) 0; margin: var(--space-8) 0;
  display: flex; gap: var(--space-6); align-items: center; justify-content: space-between; flex-wrap: wrap; }
.stay-note p { margin: 0; max-width: 32em; }
.host { display: flex; gap: var(--space-6); align-items: flex-start; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-md); padding: var(--space-6); margin-top: var(--space-12); }
.host img { width: 88px; height: 88px; flex: none; }
.host h3 { margin-bottom: var(--space-2); }
.host p { margin: 0; font-size: 16px; line-height: 25px; }
.more { padding: var(--space-12) 0 var(--space-16); border-top: 1px solid var(--line); }
.more-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: var(--space-6); margin-top: var(--space-6); }
.more-grid a { text-decoration: none; color: var(--basalt); }
.more-grid img { border-radius: var(--radius-md); aspect-ratio: 3 / 2; object-fit: cover; width: 100%; margin-bottom: var(--space-2); }
.more-grid span { font-family: var(--font-display); font-size: 20px; line-height: 26px; color: var(--atlantic); }
.more-grid a:hover span { text-decoration: underline; }

/* Simple pages */
.page { padding: var(--space-12) 0 var(--space-16); }
.page-grid { display: grid; grid-template-columns: 7fr 5fr; gap: var(--space-12); align-items: start; }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-md); padding: var(--space-8); }
.panel h2 { font-size: 26px; margin-bottom: var(--space-4); }
.panel .btn { width: 100%; margin-top: var(--space-2); }
.panel small { display: block; color: var(--ink-muted); font-size: 14px; line-height: 20px; margin-top: var(--space-4); }
.page .prose { max-width: var(--measure); }
.page .prose h2 { margin: var(--space-8) 0 var(--space-4); }
.page .prose ul { padding-left: 1.2em; }

/* Language switcher */
.lang { display: flex; gap: 2px; border: 1px solid var(--line); border-radius: var(--radius-pill); padding: 2px; background: var(--surface); }
.nav .lang a { font-size: 13px; font-weight: 700; padding: 4px 10px; border-radius: var(--radius-pill); color: var(--ink-muted); text-decoration: none; }
.nav .lang a[aria-current="true"] { background: var(--atlantic); color: var(--on-atlantic); }
.nav .lang a:hover { color: var(--atlantic); text-decoration: none; }
.nav .lang a[aria-current="true"]:hover { color: var(--on-atlantic); }

/* Reviews */
.reviews { background: var(--mint-wash); }
.review-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: var(--space-6); }
.review { background: var(--surface); border-radius: var(--radius-md); padding: var(--space-6); margin: 0; display: flex; flex-direction: column; gap: var(--space-4); }
.review blockquote { margin: 0; font-family: var(--font-display); font-size: 19px; line-height: 29px; color: var(--basalt); }
.review .orig { font-size: 14px; line-height: 21px; color: var(--ink-muted); margin: 0; }
.review .orig summary { cursor: pointer; }
.review .orig p { margin: var(--space-2) 0 0; }
.review figcaption { margin-top: auto; font-size: 15px; line-height: 22px; }
.review figcaption strong { color: var(--atlantic); }
.review .score { display: inline-block; background: var(--sun); color: var(--atlantic-deep); font-weight: 700; font-size: 14px; border-radius: var(--radius-sm); padding: 1px 8px; margin-right: var(--space-2); }

/* Forms */
.form { display: grid; gap: var(--space-4); margin-top: var(--space-6); max-width: 36em; }
.form label { display: grid; gap: 6px; font-weight: 600; font-size: 15px; color: var(--basalt); }
.form input, .form textarea, .form select { font: inherit; font-weight: 400; color: var(--basalt); background: var(--surface);
  border: 1px solid #AEB8B5; border-radius: var(--radius-sm); padding: 10px 12px; width: 100%; }
.form input:focus, .form textarea:focus, .form select:focus { outline: 3px solid var(--sun); outline-offset: 1px; border-color: var(--atlantic); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-4); }
.form .btn { justify-self: start; cursor: pointer; }
.form-note { font-size: 14px; line-height: 20px; color: var(--ink-muted); margin: 0; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
@media (max-width: 520px) { .form-row { grid-template-columns: 1fr; } }

/* Footer */
.site-footer { background: var(--atlantic-deep); color: #C9D6D3; padding: var(--space-12) 0 var(--space-8); border-top: 1px solid #2B4A50; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: var(--space-8); }
.footer-brand { display: flex; flex-direction: column; gap: var(--space-4); align-items: flex-start; }
.footer-brand img { width: 96px; height: 96px; }
.site-footer .foot-sub { margin-top: var(--space-6); }
.footer-brand p { margin: 0; font-size: 15px; line-height: 23px; max-width: 26em; }
.site-footer h3 { color: var(--on-atlantic); font-size: 15px; margin-bottom: var(--space-2); }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 6px; font-size: 15px; }
.site-footer a { color: var(--on-atlantic); }
.footer-base { margin-top: var(--space-8); padding-top: var(--space-4); border-top: 1px solid #2B4A50; font-size: 14px; }

@media (max-width: 880px) {
  .hero-grid, .studio-copy, .band-grid, .page-grid, .footer-grid { grid-template-columns: 1fr; }
    .facts ul { grid-template-columns: repeat(2, 1fr); }
  .gallery { grid-template-columns: 1fr 1fr; }
  .gallery .big { grid-column: span 2; grid-row: auto; }
  .gallery .big img { aspect-ratio: 4 / 3; }
  .guide { grid-template-columns: 1fr; gap: var(--space-4); }
  .section { padding: var(--space-12) 0; }
  .nav { gap: var(--space-4); }
}
@media (max-width: 520px) {
  .wrap { padding: 0 var(--space-4); }
  .nav .btn-book { display: none; }
  .site-header .wrap { padding-top: var(--space-2); padding-bottom: var(--space-2); }
  .nav { gap: var(--space-2) var(--space-4); }
  .brand img { width: 44px; height: 44px; }
  .brand span { font-size: 19px; }
  .host { flex-direction: column; }
  .footer-brand { flex-direction: column; align-items: flex-start; }
}
.page h1 { margin-bottom: var(--space-4); }
.panel-img img { border-radius: var(--radius-md); width: 100%; height: auto; }
.hero-photo img, .article-hero img, .gallery img, .guide img, .more-grid img { height: auto; }

/* Cookie banner and settings */
#cookie-banner { position: fixed; left: 50%; bottom: calc(env(safe-area-inset-bottom, 0px) + 16px); transform: translateX(-50%); z-index: 40;
  width: min(560px, calc(100vw - 24px)); background: var(--surface); color: var(--basalt); border: 1px solid var(--line);
  border-radius: var(--radius-md); box-shadow: 0 10px 30px rgba(30, 52, 57, .18); padding: var(--space-4) var(--space-6); font-size: 15px; line-height: 22px; }
#cookie-banner p { margin: 0 0 var(--space-4); }
.cb-actions { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-2); }
.cb-btn { font: inherit; font-weight: 700; font-size: 15px; border-radius: var(--radius-pill); padding: 9px 12px; cursor: pointer;
  border: 2px solid var(--atlantic); background: var(--surface); color: var(--atlantic); }
.cb-btn:hover { background: var(--mint-wash); }
#cookie-panel { position: fixed; inset: 0; z-index: 50; background: rgba(30, 52, 57, .45); display: flex; align-items: center; justify-content: center; padding: var(--space-4); }
#cookie-panel[hidden], #cookie-banner[hidden] { display: none; }
.cp-card { background: var(--surface); border-radius: var(--radius-md); padding: var(--space-6); width: min(520px, 100%); max-height: 90vh; overflow: auto; }
.cp-card h2 { font-size: 24px; margin-bottom: var(--space-4); }
.cp-row { display: flex; justify-content: space-between; gap: var(--space-4); align-items: flex-start; padding: var(--space-4) 0; border-top: 1px solid var(--line); }
.cp-row p { margin: 4px 0 0; font-size: 14px; line-height: 20px; color: var(--ink-muted); }
.cp-row strong { color: var(--atlantic); }
.cp-always { font-size: 14px; font-weight: 700; color: var(--ink-muted); white-space: nowrap; }
.cp-row input[type=checkbox] { width: 44px; height: 24px; accent-color: var(--atlantic); flex: none; }
.cp-card .cb-actions { margin-top: var(--space-4); }
.linklike { background: none; border: 0; padding: 0; font: inherit; color: var(--on-atlantic); text-decoration: underline; cursor: pointer; }
.footer-legal { display: flex; flex-wrap: wrap; gap: var(--space-2) var(--space-6); margin-top: var(--space-2); }
.footer-legal a, .footer-legal button { font-size: 14px; }
.legal mark { background: var(--sun); color: var(--atlantic-deep); padding: 0 4px; border-radius: 4px; }
.legal table { border-collapse: collapse; width: 100%; font-size: 15px; margin: var(--space-4) 0; }
.legal th, .legal td { text-align: left; border-bottom: 1px solid var(--line); padding: 8px; vertical-align: top; }
.table-wrap { overflow-x: auto; }
@media (max-width: 520px) { .cb-actions { grid-template-columns: 1fr; } #cookie-banner { padding: var(--space-4); } }
.legal-img { display: inline-block; max-width: 100%; height: auto; vertical-align: top; }
