
html{color-scheme:light}body{margin:0;-webkit-text-size-adjust:100%}img{max-width:100%}[hidden]{display:none!important}*{box-sizing:border-box}

/* Layout: a single-column studio site; navy hero, linen body, the layer bars as the recurring device. */
:root {
  --navy: #1B2340; --linen: #F6F1E9; --paper: #FBF8F3; --signal: #E4572E; --signal-text: #C2441C;
  --brass: #B08D57; --brass-text: #7A5F35; --slate: #4B5270; --rule: #E2DACC; --mist: #BCC1D6;
  --bg: var(--linen); --surface: var(--paper); --fg: var(--navy); --muted: var(--slate);
  --hero-bg: var(--navy); --hero-fg: var(--linen); --hero-muted: var(--mist);
  --input-bg: #FFFFFF; --input-border: #D8D0C2; --ok: #2F6B4F;
  --display: 'Fraunces', Georgia, 'Times New Roman', serif;
  --body: 'DM Sans', Arial, Helvetica, sans-serif;
}
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) {
  --bg: #121729; --surface: #1A2140; --fg: #EFE8DC; --muted: #B3B8CC; --rule: #2C3558;
  --hero-bg: #0D1120; --hero-fg: #F6F1E9; --hero-muted: #A9AFC6; --signal-text: #F07A55; --brass-text: #D2B27A;
  --input-bg: #10152A; --input-border: #3A4570; --ok: #7FC3A0; color-scheme: dark } }
:root[data-theme="dark"] {
  --bg: #121729; --surface: #1A2140; --fg: #EFE8DC; --muted: #B3B8CC; --rule: #2C3558;
  --hero-bg: #0D1120; --hero-fg: #F6F1E9; --hero-muted: #A9AFC6; --signal-text: #F07A55; --brass-text: #D2B27A;
  --input-bg: #10152A; --input-border: #3A4570; --ok: #7FC3A0; color-scheme: dark }

body { background: var(--bg); color: var(--fg); font-family: var(--body); font-size: 16px; line-height: 1.55; }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 10; background: var(--hero-bg); }
.wrap { max-width: 1120px; margin: 0 auto; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
h1, h2, h3 { font-family: var(--display); font-weight: 600; letter-spacing: -0.02em; line-height: 1.08; margin: 0; text-wrap: balance; }
p { margin: 0; }
a { color: inherit; }
.dot { color: var(--signal); }
.eyebrow { font-size: 12px; font-weight: 500; letter-spacing: 0.32em; text-transform: uppercase; color: var(--muted); }
:focus-visible { outline: 2px solid var(--signal); outline-offset: 3px; }

/* header */
header.top { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 5; background: var(--hero-bg); color: var(--hero-fg); }
header.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 14px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand b { font-family: var(--display); font-weight: 600; font-size: 24px; letter-spacing: -0.03em; }
nav.links { display: flex; gap: 22px; align-items: center; flex-wrap: wrap; font-size: 15px; }
nav.links a { text-decoration: none; color: var(--hero-muted); }
nav.links a:hover { color: var(--hero-fg); }
nav.links a.cta { color: var(--navy); background: var(--linen); padding: 10px 16px; border-radius: 8px; font-weight: 500; }
@media (max-width: 720px) { nav.links a:not(.cta) { display: none; } }

/* hero */
.hero { background: var(--hero-bg); color: var(--hero-fg); }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); gap: 56px; align-items: center; padding-block: 64px 72px; }
.hero h1 { font-size: clamp(44px, 7vw, 88px); letter-spacing: -0.035em; }
.hero p.lead { font-size: 19px; color: var(--hero-muted); max-width: 34em; margin-top: 22px; }
.hero .actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 30px; }
.btn { display: inline-flex; align-items: center; gap: 8px; font: 500 16px var(--body); padding: 14px 22px; border-radius: 10px; border: 0; cursor: pointer; text-decoration: none; }
.btn.primary { background: var(--signal); color: #1B2340; }
.btn.ghost { background: transparent; color: var(--hero-fg); box-shadow: inset 0 0 0 1.5px var(--hero-muted); }
.bars { display: flex; flex-direction: column; gap: 8px; max-width: 320px; margin-top: 44px; }
.bars span { height: 12px !important; }
.hero-fig { margin: 0; display: grid; gap: 10px; }
.hero-fig img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 18px; display: block; background: #E9E6E1; }
.hero-fig figcaption, figure.w figcaption { font-size: 13px; color: var(--hero-muted); }
.make article .ph { margin: -28px -28px 6px; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 14px 14px 0 0; background: #ECE9E4; }
.make article .ph img { width: 100%; height: 100%; object-fit: cover; display: block; }
.rugph { height: 100%; background: var(--navy); display: flex; flex-direction: column; justify-content: center; gap: 12px; padding: 0 16%; box-shadow: inset 0 0 0 14px #E9DFCC, inset 0 0 0 20px var(--navy), inset 0 0 0 24px var(--brass); }
.rugph span { height: 16px; background: #E9DFCC; } .rugph span:nth-child(2){width:70%} .rugph span:nth-child(3){width:44%;background:var(--brass)} .rugph span:nth-child(4){width:20%;background:var(--signal)}
.gallery { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 220px; gap: 14px; grid-auto-flow: dense; }
figure.w { margin: 0; position: relative; border-radius: 14px; overflow: hidden; background: #F1EFEC; min-width: 0; }
figure.w img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s ease; }
figure.w.contain img { object-fit: contain; padding: 14px; box-sizing: border-box; }
figure.w figcaption { position: absolute; left: 10px; bottom: 10px; right: 10px; background: rgba(27,35,64,.82); color: #F6F1E9; padding: 7px 10px; border-radius: 8px; font-size: 13px; }
figure.w.tall { grid-row: span 2; } figure.w.wide { grid-column: span 2; }
@media (prefers-reduced-motion: no-preference) { figure.w:hover img { transform: scale(1.04); } }
@media (max-width: 880px) { .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 200px; } }
.credit { margin-top: 18px; font-size: 13px; color: var(--muted); }
.bars span { display: block; height: 22px; border-radius: 3px; background: var(--hero-fg); opacity: .92; }
.bars span:nth-child(2) { width: 78%; } .bars span:nth-child(3) { width: 56%; background: var(--brass); opacity: 1; }
.bars span:nth-child(4) { width: 30%; background: var(--signal); opacity: 1; }
.bars small { color: var(--hero-muted); font-size: 13px; margin-top: 8px; }
@media (max-width: 820px) { .hero .wrap { grid-template-columns: 1fr; gap: 36px; padding-block: 48px 56px; } .hero-fig img { aspect-ratio: 5 / 4; object-position: 50% 76%; } }

section { padding-block: 84px; }
section + section { border-top: 1px solid var(--rule); }
.head { display: flex; flex-direction: column; gap: 12px; margin-bottom: 40px; max-width: 40em; }
.head h2 { font-size: clamp(32px, 4.4vw, 48px); }
.head p { color: var(--muted); font-size: 17px; }

/* what we make */
.make { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.make article { background: var(--surface); border: 1px solid var(--rule); border-radius: 14px; padding: 28px; display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.make h3 { font-size: 26px; }
.make p { color: var(--muted); }
.make ul { margin: 6px 0 0; padding-left: 18px; color: var(--fg); display: grid; gap: 4px; font-size: 15px; }
.make svg { width: 44px; height: 44px; }
@media (max-width: 880px) { .make { grid-template-columns: 1fr; } }

/* process */
.steps { display: grid; gap: 14px; }
.step { display: grid; grid-template-columns: minmax(0, 260px) minmax(0, 1fr); gap: 28px; align-items: center; }
.step .bar { height: 54px; border-radius: 6px; background: var(--fg); color: var(--bg); display: flex; align-items: center; padding: 0 18px; font-weight: 500; font-size: 16px; }
.step:nth-child(2) .bar { margin-left: 26px; } .step:nth-child(3) .bar { margin-left: 52px; }
.step:nth-child(4) .bar { margin-left: 78px; background: var(--signal); color: #1B2340; font-weight: 700; }
.step p { color: var(--muted); max-width: 40em; }
@media (max-width: 720px) { .step { grid-template-columns: 1fr; gap: 8px; } .step .bar { margin-left: 0 !important; } }

/* principles */
.principles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.principles h3 { font-size: 22px; margin-bottom: 8px; }
.principles p { color: var(--muted); }
@media (max-width: 820px) { .principles { grid-template-columns: 1fr; gap: 22px; } }

/* contact */
.contact { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 48px; align-items: start; }
.details { display: grid; gap: 20px; }
.details dl { margin: 0; display: grid; gap: 14px; }
.details dt { font-size: 12px; letter-spacing: .24em; text-transform: uppercase; color: var(--muted); }
.details dd { margin: 2px 0 0; font-size: 17px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.copy { font: 500 13px var(--body); padding: 6px 10px; border-radius: 6px; border: 1px solid var(--rule); background: var(--surface); color: var(--fg); cursor: pointer; }
form.card { background: var(--surface); border: 1px solid var(--rule); border-radius: 16px; padding: 30px; display: grid; gap: 16px; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .row2 { grid-template-columns: 1fr; } }
label.f { display: grid; gap: 6px; font-size: 14px; font-weight: 500; min-width: 0; }
label.f span.opt { color: var(--muted); font-weight: 400; }
input, select, textarea { font: 400 16px var(--body); color: var(--fg); background: var(--input-bg); border: 1px solid var(--input-border); border-radius: 8px; padding: 12px; width: 100%; box-sizing: border-box; }
textarea { min-height: 130px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--signal); outline-offset: 1px; border-color: transparent; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--muted); }
.check input { width: 18px; height: 18px; margin-top: 2px; flex: none; }
.err { color: var(--signal-text); font-size: 14px; min-height: 1em; }
.status { border-radius: 10px; padding: 16px; background: var(--bg); border: 1px solid var(--rule); font-size: 15px; }
.status.ok { border-color: var(--ok); }
.status b { color: var(--ok); }
@media (max-width: 880px) { .contact { grid-template-columns: 1fr; } }

/* owner inbox */
#inbox { background: var(--surface); }
.inbox-list { display: grid; gap: 12px; }
.enq { border: 1px solid var(--rule); border-radius: 12px; padding: 18px; display: grid; gap: 6px; background: var(--bg); min-width: 0; overflow-wrap: anywhere; }
.enq .meta { font-size: 13px; color: var(--muted); display: flex; gap: 12px; flex-wrap: wrap; }
.pill { font-size: 12px; font-weight: 500; padding: 3px 9px; border-radius: 999px; background: var(--brass); color: #1B2340; }

footer { background: var(--hero-bg); color: var(--hero-muted); font-size: 14px; }
footer .wrap { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding-block: 36px; }
footer b { font-family: var(--display); color: var(--hero-fg); font-size: 20px; font-weight: 600; }
@media (prefers-reduced-motion: no-preference) { .bars span { transform-origin: left; animation: grow .7s ease-out both; } .bars span:nth-child(2){animation-delay:.08s} .bars span:nth-child(3){animation-delay:.16s} .bars span:nth-child(4){animation-delay:.3s} @keyframes grow { from { transform: scaleX(.6); } } }

/* account + shared extras */
nav.links a.acct { color: var(--hero-fg); }
.auth-wrap { max-width: 1120px; margin: 0 auto; padding: 56px max(20px, env(safe-area-inset-right, 0px)) 80px max(20px, env(safe-area-inset-left, 0px)); display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 48px; align-items: start; }
@media (max-width: 880px) { .auth-wrap { grid-template-columns: 1fr; } }
.tabs { display: flex; gap: 6px; background: var(--bg); padding: 4px; border-radius: 10px; border: 1px solid var(--rule); }
.tabs button { flex: 1; font: 500 15px var(--body); padding: 10px; border: 0; border-radius: 8px; background: transparent; color: var(--muted); cursor: pointer; }
.tabs button[aria-selected="true"] { background: var(--surface); color: var(--fg); box-shadow: 0 1px 3px rgba(27,35,64,.12); }
.btn.google { background: var(--input-bg); color: var(--fg); box-shadow: inset 0 0 0 1px var(--input-border); justify-content: center; width: 100%; }
.btn.wide { width: 100%; justify-content: center; }
.btn.secondary { background: transparent; color: var(--fg); box-shadow: inset 0 0 0 1.5px var(--input-border); }
.or { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: 13px; }
.or::before, .or::after { content: ""; flex: 1; height: 1px; background: var(--rule); }
.linkbtn { background: none; border: 0; padding: 0; font: inherit; color: var(--signal-text); cursor: pointer; text-decoration: underline; }
.panel { background: var(--surface); border: 1px solid var(--rule); border-radius: 16px; padding: 28px; display: grid; gap: 16px; }
.enq { border: 1px solid var(--rule); border-radius: 12px; padding: 18px; display: grid; gap: 6px; background: var(--bg); min-width: 0; overflow-wrap: anywhere; }
.enq .meta { font-size: 13px; color: var(--muted); display: flex; gap: 12px; flex-wrap: wrap; }
.pill { font-size: 12px; font-weight: 500; padding: 3px 9px; border-radius: 999px; background: var(--brass); color: #1B2340; }
.pill.new { background: var(--signal); } .pill.replied { background: var(--brass); } .pill.closed { background: var(--rule); color: var(--fg); }
.signed { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.signed img { width: 40px; height: 40px; border-radius: 50%; }

/* theme toggle */
.theme-btn { width: 42px; height: 42px; border-radius: 10px; border: 1px solid rgba(246,241,233,.28); background: transparent; color: var(--hero-fg); display: inline-grid; place-items: center; cursor: pointer; padding: 0; flex: none; }
.theme-btn:hover { background: rgba(246,241,233,.1); }
.theme-btn svg { width: 20px; height: 20px; }
nav.links { flex-wrap: nowrap; }

.theme-btn [hidden] { display: none !important; }
footer { border-top: 1px solid var(--rule); }

figure.w > a.wl { display: block; height: 100%; color: inherit; text-decoration: none; }
figure.w > a.wl:focus-visible { outline: 3px solid var(--signal); outline-offset: -3px; border-radius: 14px; }
figure.w figcaption .go { float: right; opacity: .85; }

/* full logo lockup */
.brand .lockup { height: 62px; width: auto; display: block; }
.flock { display: block; }
.flock .lockup { height: 52px; width: auto; display: block; margin-bottom: 12px; }
@media (max-width: 640px) { .brand .lockup { height: 46px; } header.top nav.links .cta { display: none; } }

/* form: required marks, hint, privacy note */
.form-intro { font-size: 14px; color: var(--muted); }
.req { color: var(--signal-text); font-weight: 600; }
label.f .hint { display: block; font-size: 13px; font-weight: 400; color: var(--muted); }
.check a, .form-note a { color: inherit; text-decoration: underline; }
.form-note { font-size: 13px; color: var(--muted); line-height: 1.55; border-top: 1px solid var(--rule); padding-top: 14px; }
/* privacy page */
.crumbs { font-size: 14px; color: var(--hero-muted); display: flex; gap: 8px; flex-wrap: wrap; }
.crumbs a { color: var(--hero-muted); text-decoration: none; }
.crumbs a:hover { color: var(--hero-fg); text-decoration: underline; }
.legal { max-width: 46em; }
.legal h2 { font-size: clamp(22px, 2.6vw, 28px); margin: 40px 0 12px; }
.legal p, .legal li { font-size: 17px; line-height: 1.65; }
.legal p + p { margin-top: 12px; }
.legal ul { padding-left: 20px; display: grid; gap: 8px; margin: 10px 0; }
.legal a { color: inherit; }
.legal .updated { color: var(--muted); font-size: 15px; }
.legal address { font-style: normal; line-height: 1.7; background: var(--surface); border: 1px solid var(--rule); border-radius: 14px; padding: 20px 24px; margin-top: 12px; }

/* phone reveal */
.phone-mask a { color: inherit; }
.phone-mask .wa { font-size: 14px; }

/* scroll reveal */
.rv { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .8s cubic-bezier(.2,.7,.2,1); transition-delay: var(--rv-d, 0ms); will-change: opacity, transform; }
.rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .rv { opacity: 1; transform: none; transition: none; } }

/* inline reveal buttons */
button.show-email.inline { font: inherit; color: inherit; background: none; border: 0; padding: 0; text-decoration: underline; cursor: pointer; }
