/* Cobnut Cottage — 2026 refresh.
   Palette taken from the place itself: Barnack-limestone walls, hedgerow green, the Gold Room's honey tone. */
:root {
  --paper: #fbf8f2;
  --stone: #efe8da;
  --stone-deep: #ded3bd;
  --ink: #23261f;
  --muted: #5f6157;
  --green: #2f4a3a;
  --green-soft: #e3eae2;
  --gold: #b9862c;
  --line: #e2d9c6;
  --radius: 14px;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --wrap: 1080px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 17px/1.65 var(--sans);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--green); text-underline-offset: 3px; }
a:hover { color: var(--gold); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; border-radius: 4px; }

h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.15; color: var(--green); text-wrap: balance; margin: 0 0 .5em; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.3rem); letter-spacing: -.01em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.15rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; max-width: 66ch; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 max(20px, env(safe-area-inset-left)); }
.eyebrow { font: 600 .78rem/1.2 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--gold); margin-bottom: .8rem; display: block; }
.lede { font-size: 1.15rem; color: var(--muted); }

/* Skip link */
.skip { position: absolute; left: -999px; top: 8px; background: var(--green); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 10; }
.skip:focus { left: 12px; }

/* Header */
.site-head { background: var(--paper); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 5; }
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 72px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--green); }
.brand svg { width: 34px; height: 34px; flex: none; }
.brand-name { font: 600 1.45rem/1 var(--serif); }
.brand-sub { display: block; font: 500 .72rem/1.3 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-top: 3px; }
.nav { display: flex; gap: 4px 2px; flex-wrap: wrap; }
.nav a { text-decoration: none; color: var(--ink); font-size: .95rem; padding: 8px 12px; border-radius: 999px; }
.nav a:hover { background: var(--stone); color: var(--green); }
.nav a[aria-current="page"] { background: var(--green); color: #fff; }
.nav .cta { background: var(--gold); color: #fff; font-weight: 600; }
.nav .cta:hover { background: var(--green); color: #fff; }
@media (max-width: 860px) {
  .site-head { position: static; }
  .site-head .wrap { padding-top: 12px; padding-bottom: 10px; }
  .nav { width: 100%; overflow-x: auto; flex-wrap: nowrap; scrollbar-width: none; margin: 0 -6px; }
  .nav::-webkit-scrollbar { display: none; }
  .nav a { white-space: nowrap; }
}

/* Sections */
section { padding: clamp(48px, 8vw, 92px) 0; }
.band { background: var(--stone); }
.band-green { background: var(--green); color: #f3f1ea; }
.band-green h2, .band-green h3 { color: #fff; }
.band-green a { color: #f4d79c; }

/* Hero */
.hero { padding-top: clamp(36px, 6vw, 72px); }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.hero-photo { position: relative; margin: 0; }
.hero-photo img { border-radius: var(--radius); aspect-ratio: 4 / 3; object-fit: cover; width: 100%; box-shadow: 0 18px 40px -22px rgba(35, 38, 31, .45); }
.hero-photo figcaption { position: absolute; left: 14px; bottom: 14px; background: rgba(251, 248, 242, .92); padding: 6px 12px; border-radius: 999px; font-size: .85rem; color: var(--green); }
.page-hero { padding: clamp(36px, 6vw, 64px) 0 clamp(20px, 3vw, 32px); }
@media (max-width: 860px) { .hero-grid { grid-template-columns: 1fr; } }

/* Buttons */
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.4rem; }
.btn { display: inline-flex; align-items: center; gap: 9px; padding: 13px 22px; border-radius: 999px; font-weight: 600; text-decoration: none; border: 2px solid var(--green); color: var(--green); background: transparent; }
.btn:hover { background: var(--green); color: #fff; }
.btn.solid { background: var(--green); color: #fff; }
.btn.solid:hover { background: var(--gold); border-color: var(--gold); }
.btn svg { width: 18px; height: 18px; }
.band-green .btn { border-color: #fff; color: #fff; }
.band-green .btn.solid { background: #fff; color: var(--green); }
.band-green .btn:hover { background: var(--gold); border-color: var(--gold); color: #fff; }

/* Stays */
.stays { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(20px, 3vw, 32px); margin-top: 2rem; }
.stay { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.stay img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.stay-body { padding: 22px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.stay-body p { color: var(--muted); }
.facts { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 1.2rem; padding: 0; list-style: none; }
.facts li { background: var(--green-soft); color: var(--green); font-size: .85rem; font-weight: 600; padding: 5px 11px; border-radius: 999px; }
.stay .more { margin-top: auto; font-weight: 600; text-decoration: none; }
.stay .more::after { content: " →"; }
@media (max-width: 760px) { .stays { grid-template-columns: 1fr; } }

/* Feature split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.split img { border-radius: var(--radius); width: 100%; }
.split.reverse > :first-child { order: 2; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } .split.reverse > :first-child { order: 0; } }

/* Ticks */
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px 28px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ticks li { padding-left: 30px; position: relative; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .42em; width: 18px; height: 18px; border-radius: 50%; background: var(--green-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3 3 7-7' fill='none' stroke='%232f4a3a' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 13px no-repeat; }
@media (max-width: 640px) { .ticks { grid-template-columns: 1fr; } }

/* Gallery */
.gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin: 1.6rem 0; }
.gallery img { border-radius: var(--radius); aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
@media (max-width: 640px) { .gallery { grid-template-columns: 1fr; } }

/* Quotes */
.quotes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 2rem; }
.quotes.all { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.quote { margin: 0; background: var(--paper); border-radius: var(--radius); padding: 26px 26px 22px; border: 1px solid var(--line); position: relative; }
.quote::before { content: "\201C"; font: 700 4rem/1 var(--serif); color: var(--gold); position: absolute; top: 8px; left: 18px; opacity: .55; }
.quote p { font: 1.15rem/1.5 var(--serif); color: var(--ink); margin: 1.2rem 0 .8rem; }
.quote cite { font-style: normal; font-size: .85rem; color: var(--muted); }
@media (max-width: 860px) { .quotes, .quotes.all { grid-template-columns: 1fr; } }

/* Cards (directions, things to do, contact) */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; margin-top: 1.6rem; }
.card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.band .card { background: var(--paper); }
.card h3 { margin-bottom: .6em; }
.card ol, .card ul { padding-left: 1.2em; margin: 0 0 .6em; }
.card li { margin-bottom: .45em; }
.card .link { font-weight: 600; text-decoration: none; }
.card .link::after { content: " ↗"; font-size: .85em; }

.contact-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(24px, 4vw, 48px); align-items: start; }
.contact-line { display: flex; gap: 14px; align-items: flex-start; padding: 18px 0; border-bottom: 1px solid var(--line); }
.contact-line:last-child { border-bottom: 0; }
.contact-line svg { width: 26px; height: 26px; flex: none; color: var(--gold); margin-top: 3px; }
.contact-line strong { display: block; font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.contact-line a, .contact-line span.big { font: 600 1.25rem/1.4 var(--serif); text-decoration: none; color: var(--green); word-break: break-word; }
address { font-style: normal; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }

.note { background: var(--green-soft); border-left: 4px solid var(--green); padding: 14px 18px; border-radius: 0 10px 10px 0; color: var(--green); max-width: 66ch; }

.prose { max-width: 70ch; }
.prose h2 { font-size: 1.5rem; margin-top: 1.8em; }

/* Footer */
.site-foot { background: #1f3328; color: #d9ddd3; padding: 56px 0 28px; font-size: .95rem; }
.site-foot a { color: #f4d79c; text-decoration: none; }
.site-foot a:hover { text-decoration: underline; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
.foot-grid h3 { color: #fff; font-size: 1.1rem; }
.foot-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.foot-base { border-top: 1px solid rgba(255, 255, 255, .14); margin-top: 36px; padding-top: 18px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; color: #aab3a6; font-size: .85rem; }
@media (max-width: 760px) { .foot-grid { grid-template-columns: 1fr; } }
