/* Bed Canopy — bespoke bed canopies & bed curtains */
:root {
  --bg: #f5f0e8;
  --bg-alt: #ede8dc;
  --ink: #1b1a18;
  --muted: #6b6560;
  --line: #d8d0c0;
  --gold: #9e7e4a;
  --img-fallback: #ddd4c4;
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Jost", system-ui, -apple-system, Segoe UI, sans-serif;
  --wrap: 1200px;
  --header-h: 80px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 300 17px/1.75 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: clip; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 300; line-height: 1.12; margin: 0 0 .5em; }
h1 { font-size: clamp(2.6rem, 5.6vw, 4.4rem); }
h2 { font-size: clamp(2rem, 3.6vw, 2.9rem); }
h3 { font-size: 1.55rem; font-weight: 400; }
p { margin: 0 0 1em; }
.wrap { width: min(var(--wrap), 100% - 48px); margin-inline: auto; }
.narrow { max-width: 760px; }
.center { text-align: center; margin-inline: auto; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; z-index: 100; }
.skip:focus { left: 8px; }

.label { font: 400 .72rem/1 var(--sans); letter-spacing: .28em; text-transform: uppercase; color: var(--gold); margin: 0 0 18px; }
.lead { font: 300 clamp(1.25rem, 2vw, 1.5rem)/1.6 var(--serif); color: var(--muted); }
.muted { color: var(--muted); }

.link-line { display: inline-flex; align-items: center; gap: 14px; font: 400 .78rem/1 var(--sans); letter-spacing: .24em; text-transform: uppercase; text-decoration: none; }
.link-line::after { content: ""; width: 32px; height: 1px; background: currentColor; transition: width .3s; }
.link-line:hover::after { width: 52px; }
.btn { display: inline-block; padding: 16px 34px; border: 1px solid var(--ink); background: var(--ink); color: #fff; font: 400 .78rem/1 var(--sans); letter-spacing: .24em; text-transform: uppercase; text-decoration: none; cursor: pointer; transition: background .25s, color .25s; }
.btn:hover { background: transparent; color: var(--ink); }

/* Header */
.site-header { position: fixed; inset: 0 0 auto; height: var(--header-h); z-index: 50; background: rgba(245,240,232,.97); border-bottom: 1px solid var(--line); transition: background .3s, border-color .3s; }
.site-header .wrap { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.logo { font: 400 1.6rem/1 var(--serif); letter-spacing: .32em; text-transform: uppercase; text-decoration: none; white-space: nowrap; }
.nav { display: flex; align-items: center; gap: 36px; white-space: nowrap; }
.nav a { font: 400 .76rem/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; text-decoration: none; transition: color .2s; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--gold); }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; color: inherit; }
.nav-toggle span { display: block; width: 26px; height: 1px; background: currentColor; margin: 7px 0; transition: transform .3s, opacity .3s; }
.home .site-header:not(.scrolled) { background: transparent; border-color: transparent; color: #fff; }
@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .nav { position: fixed; inset: var(--header-h) 0 0; flex-direction: column; justify-content: center; gap: 30px; background: var(--bg); transform: translateX(100%); transition: transform .35s ease; }
  .nav a { font-size: .95rem; color: var(--ink) !important; }
  .nav-open .nav { transform: none; }
  .nav-open .site-header { background: var(--bg) !important; color: var(--ink) !important; }
  .nav-open .nav-toggle span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
  .nav-open .nav-toggle span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
}
@media (max-width: 480px) { .logo { font-size: 1.25rem; letter-spacing: .24em; } }

/* Hero */
.hero { position: relative; min-height: 92vh; min-height: 92svh; display: flex; align-items: flex-end; color: #fff; background: #3a332b; overflow: hidden; }
.hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.25) 0%, rgba(0,0,0,.15) 40%, rgba(0,0,0,.6) 100%); }
.hero .wrap { position: relative; z-index: 1; padding: calc(var(--header-h) + 40px) 0 72px; }
.hero h1 { max-width: 16ch; }
.hero .label { color: rgba(255,255,255,.75); }

/* Page header with optional image */
.page-head { padding: calc(var(--header-h) + clamp(36px, 5vw, 64px)) 0 clamp(28px, 4vw, 48px); }
.page-head h1 { max-width: 18ch; }
.page-head .lead { max-width: 40rem; }
.banner { aspect-ratio: 21 / 9; background: var(--img-fallback); overflow: hidden; }
.banner img { width: 100%; height: 100%; object-fit: cover; }

/* Sections */
.section { padding: clamp(44px, 5.5vw, 76px) 0; }
.section.alt { background: var(--bg-alt); }
.section.dark { background: var(--ink); color: #fff; }
.section.dark .muted { color: rgba(255,255,255,.65); }
.intro p { font: 300 clamp(1.3rem, 2.2vw, 1.65rem)/1.55 var(--serif); }
.intro p + p { color: var(--muted); }

/* Collection cards */
.col-grid { display: grid; grid-template-columns: 1.4fr 1fr; grid-template-rows: auto auto; gap: 24px; }
.col-card { position: relative; display: block; overflow: hidden; background: var(--img-fallback); color: #fff; text-decoration: none; min-height: 300px; }
.col-card:first-child { grid-row: span 2; min-height: 624px; }
.col-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1s ease; }
.col-card:hover img { transform: scale(1.04); }
.col-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 45%, rgba(0,0,0,.6)); }
.col-card .txt { position: absolute; left: 0; right: 0; bottom: 0; padding: 28px 32px; z-index: 1; }
.col-card h3 { font-size: 2rem; font-weight: 300; margin: 0 0 6px; }
.col-card p { margin: 0; max-width: 34ch; font-size: .92rem; color: rgba(255,255,255,.82); }
@media (max-width: 800px) { .col-grid { grid-template-columns: 1fr; } .col-card:first-child { grid-row: auto; min-height: 420px; } }

/* Split (text + image) */
.split { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.split.rev > :first-child { order: 2; }
.split .ph { aspect-ratio: 4 / 3; background: var(--img-fallback); overflow: hidden; }
.split .ph img { width: 100%; height: 100%; object-fit: cover; }
.split > * { min-width: 0; }
.big-word { font: 300 clamp(3rem, 6.4vw, 6rem)/.9 var(--serif); white-space: nowrap; color: var(--line); margin: 0 0 12px; }
@media (max-width: 800px) { .split { grid-template-columns: 1fr; } .split.rev > :first-child { order: 0; } }

/* CTA band with image */
.cta { position: relative; color: #fff; text-align: center; background: #2a241e; overflow: hidden; }
.cta > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cta::after { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,.5); }
.cta .wrap { position: relative; z-index: 1; padding: clamp(64px, 9vw, 120px) 0; }
.cta h2 { font-size: clamp(2.4rem, 5vw, 3.8rem); }

/* Item lists (collections) */
.group { scroll-margin-top: calc(var(--header-h) + 20px); }
.group-head { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(28px, 5vw, 64px); align-items: center; margin-bottom: 36px; }
.group-head .ph { aspect-ratio: 4 / 3; background: var(--img-fallback); overflow: hidden; }
.group-head .ph img { width: 100%; height: 100%; object-fit: cover; }
.items { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px 32px; }
.items div { border-top: 1px solid var(--line); padding-top: 16px; }
.items h3 { font-size: 1.3rem; margin-bottom: 6px; }
.items p { font-size: .92rem; color: var(--muted); margin: 0; }
.jump { display: flex; flex-wrap: wrap; gap: 12px 28px; }
.jump a { font: 300 1.3rem var(--serif); text-decoration: none; border-bottom: 1px solid var(--line); }
.jump a:hover { border-color: var(--gold); }
@media (max-width: 960px) { .items { grid-template-columns: repeat(2, 1fr); } .group-head { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .items { grid-template-columns: 1fr; } }

/* Steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px 40px; }
.steps li { border-top: 1px solid var(--line); padding-top: 18px; }
.steps .n { font: 300 2.4rem/1 var(--serif); color: var(--gold); display: block; margin-bottom: 10px; }
.steps p { color: var(--muted); font-size: .95rem; margin: 0; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

/* Portfolio */
.pf { display: grid; grid-template-columns: repeat(2, 1fr); gap: 44px 32px; }
.pf figure { margin: 0; }
.pf .ph { aspect-ratio: 4 / 3; overflow: hidden; background: var(--img-fallback); }
.pf img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s ease; }
.pf figure:hover img { transform: scale(1.03); }
.pf figcaption { padding-top: 16px; }
.pf h3 { margin: 6px 0; }
.pf p { color: var(--muted); font-size: .95rem; margin: 0; }
.note { font-size: .85rem; color: var(--muted); font-style: italic; margin-top: 36px; }
@media (max-width: 760px) { .pf { grid-template-columns: 1fr; } }

/* About rows */
.rows { display: grid; gap: 36px; }
.rows article { display: grid; grid-template-columns: 220px 1fr; gap: 32px; border-top: 1px solid var(--line); padding-top: 24px; }
.rows h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); }
.rows p { color: var(--muted); }
@media (max-width: 760px) { .rows article { grid-template-columns: 1fr; gap: 4px; } }

/* Form */
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 26px 28px; }
.form .full { grid-column: 1 / -1; }
.form label { display: block; font: 400 .7rem/1 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.form input, .form select, .form textarea { width: 100%; border: 0; border-bottom: 1px solid var(--line); background: transparent; font: inherit; padding: 10px 0; color: var(--ink); border-radius: 0; }
.form textarea { min-height: 140px; resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-bottom-color: var(--gold); }
.form small { font-size: .82rem; color: var(--muted); }
.form-status { margin: 0; }
@media (max-width: 700px) { .form { grid-template-columns: 1fr; } }

/* Footer */
.site-footer { background: var(--ink); color: rgba(255,255,255,.7); padding: 56px 0 28px; font-size: .92rem; }
.site-footer .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.site-footer .logo { color: #fff; font-size: 1.4rem; }
.site-footer h4 { font: 400 .7rem/1 var(--sans); letter-spacing: .24em; text-transform: uppercase; color: rgba(255,255,255,.45); margin: 0 0 18px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 10px; }
.site-footer li a { text-decoration: none; letter-spacing: .14em; text-transform: uppercase; font-size: .8rem; }
.site-footer a:hover { color: #fff; }
.site-footer .bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 40px; padding-top: 20px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: rgba(255,255,255,.45); }
@media (max-width: 760px) { .site-footer .cols { grid-template-columns: 1fr 1fr; } .site-footer .cols > :first-child { grid-column: 1 / -1; } }

/* Reveal */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .9s ease, transform .9s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

/* ---------- Effects carried over from the Airo design ---------- */
:root { --ease: cubic-bezier(.4, 0, .2, 1); }
.site-header { transition: background .7s var(--ease), border-color .7s var(--ease), color .7s var(--ease); }
/* Nav: underline grows from the left on hover */
.nav a { position: relative; padding-bottom: 4px; transition: color .3s var(--ease); }
.nav a::after { content: ""; position: absolute; left: 0; bottom: 0; width: 0; height: 1px; background: currentColor; transition: width .5s cubic-bezier(0,0,.2,1); }
.nav a:hover::after, .nav a[aria-current="page"]::after { width: 100%; }
.nav a:hover { color: inherit; }
.logo { transition: color .3s var(--ease); }
/* Line links extend (Explore Collections, Make an Enquiry…) */
.link-line { transition: color .4s var(--ease); }
.link-line::after { transition: width .5s var(--ease); }
.link-line:hover::after { width: 56px; }
.hero .link-line:hover, .cta .link-line:hover { color: #fff; }
.link-line:hover { color: var(--gold); }
/* Portfolio: image darkens and "View" appears */
.pf .ph { position: relative; }
.pf .ov { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: rgba(0,0,0,0); transition: background .5s var(--ease); pointer-events: none; }
.pf .ov span { color: #fff; font: 400 .75rem/1 var(--sans); letter-spacing: .3em; text-transform: uppercase; opacity: 0; transition: opacity .4s var(--ease); }
.pf figure:hover .ov { background: rgba(0,0,0,.2); }
.pf figure:hover .ov span { opacity: 1; }
/* Image zoom on hover */
.split .ph img, .group-head .ph img, .banner img { transition: transform 1s var(--ease); }
.split .ph:hover img, .group-head .ph:hover img, .banner:hover img { transform: scale(1.04); }
.site-footer a { transition: color .3s var(--ease); }
.form input, .form select, .form textarea { transition: border-color .3s var(--ease); }
@media (max-width: 900px) { .nav a::after { display: none; } }
/* keep hidden helpers (honeypot, status) from widening the page */
.visually-hidden { left: 0; top: 0; }
form { position: relative; }
html { overflow-x: clip; }

/* ---------- Mobile, matched to the Airo layout ---------- */
@media (max-width: 900px) {
  .nav { justify-content: flex-start; align-items: flex-start; gap: 0; padding: 20px 24px 32px; border-top: 1px solid var(--line);
    transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .3s var(--ease), transform .3s var(--ease), visibility 0s .3s; }
  .nav-open .nav { transform: none; opacity: 1; visibility: visible; transition: opacity .3s var(--ease), transform .3s var(--ease); }
  .nav a { display: block; padding: 14px 0; font-size: .85rem !important; letter-spacing: .24em; }
}
@media (max-width: 760px) {
  .hero { min-height: 100svh; }
  .hero h1 { font-size: 2.2rem; }
  .hero .wrap { padding-bottom: 56px; }
  .intro p { font-size: 1.3rem; }
  .col-grid { gap: 16px; }
  .col-card, .col-card:first-child { min-height: 0; aspect-ratio: 16 / 11; }
  .col-card .txt { padding: 20px 22px; }
  .col-card h3 { font-size: 1.5rem; }
  .col-card p { font-size: .82rem; }
  .big-word { font-size: 3.6rem; }
  .items { gap: 20px 16px; }
  .steps { gap: 24px; }
  .pf { gap: 32px; }
  .rows article { padding-top: 18px; }
  .site-footer { padding: 44px 0 24px; }
  .site-footer .cols { grid-template-columns: 1fr; gap: 30px; }
  .site-footer .bottom { flex-direction: column; gap: 8px; margin-top: 32px; }
  .cta .wrap { padding: 72px 0; }
  .cta h2 { font-size: 2.2rem; }
}
