/* C Studio — cstudiolife.com */
:root {
  --ink: #111111;
  --paper: #F4F1EA;
  --muted: #3A3630;
  --soft: #555048;
  --line: #BDB6A8;
  --green: #1E7B3C;
  --green-light: #5DBB7A;
  --blue: #1B6FBF;
  --print-blue: #3A8FD6;
  --stone: #B9B8B2;
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: 'Archivo', system-ui, -apple-system, sans-serif;
  --pad: 56px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--sans); background: var(--paper); color: var(--ink); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--blue); }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
.serif { font-family: var(--serif); font-style: italic; font-weight: 500; }
.eyebrow { font-size: 12px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; }
.wrap { padding-left: var(--pad); padding-right: var(--pad); }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 56px; padding: 0 32px; border-radius: 999px; font-size: 15px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; text-align: center; }
.btn-green { background: var(--green); color: #fff; }
.btn-green:hover { background: #17622F; color: #fff; }
.btn-dark { background: var(--ink); color: var(--paper); }
.btn-dark:hover { background: #2a2a2a; color: var(--paper); }
.btn-outline { border: 2px solid currentColor; }
.btn-outline-light { border: 2px solid var(--paper); color: var(--paper); }
.btn-outline-light:hover { background: var(--paper); color: var(--ink); }

/* Announcement bar */
.announce { background: var(--green); color: #fff; min-height: 44px; display: flex; align-items: center; justify-content: center; gap: 40px; padding: 8px 16px; font-size: 13px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; text-align: center; }
.announce .dot { opacity: .8; }

/* Header */
.site-header { height: 88px; display: flex; align-items: center; justify-content: space-between; gap: 24px; border-bottom: 2px solid var(--ink); background: var(--paper); position: sticky; top: 0; z-index: 20; }
.logo img { width: 72px; height: 72px; }
.main-nav { display: flex; gap: 40px; font-size: 15px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; }
.bag { display: inline-flex; align-items: center; height: 44px; padding: 0 20px; background: var(--ink); color: var(--paper); border-radius: 22px; font-size: 14px; font-weight: 700; }
.bag:hover { color: var(--paper); background: #2a2a2a; }
.menu { display: none; position: relative; }
.menu summary { list-style: none; width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; cursor: pointer; }
.menu summary::-webkit-details-marker { display: none; }
.menu-panel { position: absolute; right: 0; top: 52px; background: var(--paper); border: 2px solid var(--ink); border-radius: 16px; padding: 8px; display: flex; flex-direction: column; min-width: 200px; }
.menu-panel a { padding: 12px 14px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; font-size: 14px; }
.header-right { display: flex; align-items: center; gap: 8px; }

/* Hero */
.hero { background: var(--ink); color: var(--paper); display: grid; grid-template-columns: 1.15fr 1fr; min-height: 760px; }
.hero-copy { padding: 88px var(--pad) 72px; display: flex; flex-direction: column; justify-content: space-between; gap: 40px; }
.chips { display: flex; gap: 12px; flex-wrap: wrap; }
.chips span { padding: 8px 14px; border: 1.5px solid var(--paper); border-radius: 999px; font-size: 12px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; }
.hero h1 { margin: 0; font-size: clamp(64px, 11vw, 168px); line-height: 0.95; }
.hero h1 em { color: var(--green-light); font-style: italic; }
.hero p { margin: 0 0 32px; max-width: 460px; font-size: 19px; line-height: 1.55; color: #D8D4CB; }
.btn-row { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-photo { background: #9D9C97; position: relative; overflow: hidden; }
.hero-photo img { width: 100%; height: 100%; object-fit: contain; }
.tag { position: absolute; left: 28px; bottom: 28px; padding: 8px 16px; background: var(--paper); color: var(--ink); border-radius: 999px; font-size: 12px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; }

/* Quote band */
.quote-band { padding: 72px var(--pad); text-align: center; border-bottom: 2px solid var(--ink); display: flex; flex-direction: column; align-items: center; gap: 20px; }
.quote-band p { margin: 0; font-size: clamp(40px, 6vw, 88px); line-height: 1; }

/* Sections */
.section { padding-top: 112px; }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; margin-bottom: 40px; flex-wrap: wrap; }
.section h2 { margin: 0; font-size: clamp(44px, 6.5vw, 96px); line-height: 1; }
.link-underline { font-size: 15px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; border-bottom: 2px solid currentColor; padding-bottom: 4px; }

/* Collections */
.collections { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.collection { min-height: 480px; padding: 32px; border-radius: 24px; display: flex; flex-direction: column; justify-content: space-between; }
.collection:hover { transform: translateY(-4px); transition: transform .2s; }
.collection .num { font-size: 13px; font-weight: 700; letter-spacing: 0.14em; }
.collection .name { font-size: clamp(40px, 4.4vw, 64px); line-height: 1; display: block; margin-bottom: 12px; }
.collection p { margin: 0 0 12px; font-size: 17px; line-height: 1.5; }
.collection .go { font-size: 14px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; }
.c-blue { background: var(--blue); color: var(--paper); }
.c-green { background: var(--green); color: #fff; }
.c-dark { background: var(--ink); color: var(--paper); }
.c-blue:hover, .c-green:hover, .c-dark:hover { color: #fff; }

/* Product cards */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.card { display: flex; flex-direction: column; gap: 14px; }
.card-img { position: relative; aspect-ratio: 834 / 1000; border-radius: 20px; border: 2px solid var(--ink); overflow: hidden; background: var(--stone); }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.card:hover .card-img img { transform: scale(1.03); }
.card-img .series { position: absolute; left: 16px; top: 16px; padding: 6px 12px; background: var(--paper); color: var(--ink); border: 1.5px solid var(--ink); border-radius: 999px; font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; }
.card-img .soldout { position: absolute; right: 16px; top: 16px; padding: 6px 12px; background: var(--ink); color: var(--paper); border-radius: 999px; font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; }
.card-title { display: flex; justify-content: space-between; font-size: 16px; font-weight: 700; }
.card-sub { font-size: 14px; color: var(--soft); }

/* Studio */
.studio { margin-top: 112px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 2px solid var(--ink); border-bottom: 2px solid var(--ink); }
.studio-photo { border-right: 2px solid var(--ink); background: #D9D3C6; min-height: 640px; }
.studio-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 55% 50%; }
.studio-copy { padding: 80px 64px; display: flex; flex-direction: column; justify-content: center; gap: 28px; }
.studio-copy h2 { margin: 0; font-size: clamp(44px, 5vw, 72px); line-height: 0.95; }
.studio-copy > p { margin: 0; max-width: 520px; font-size: 18px; line-height: 1.6; color: var(--muted); }
.pillars { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; padding-top: 12px; }
.pillars div { display: flex; flex-direction: column; gap: 6px; }
.pillars .serif { font-size: 26px; }
.pillars span:last-child { font-size: 14px; line-height: 1.5; color: var(--muted); }

/* Lookbook */
.life-intro { max-width: 380px; margin: 0; font-size: 17px; line-height: 1.55; color: var(--muted); text-align: right; }
.life-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-auto-rows: 560px; gap: 16px; }
.life-grid figure { margin: 0; position: relative; border-radius: 24px; overflow: hidden; background: #D9D3C6; }
.life-grid img { width: 100%; height: 100%; object-fit: cover; }
.life-grid figcaption { position: absolute; left: 20px; bottom: 20px; padding: 8px 16px; background: var(--paper); border-radius: 999px; font-size: 13px; font-weight: 700; }
.life-grid figcaption.big { right: 20px; padding: 22px 24px; background: rgba(17,17,17,.72); color: #fff; border-radius: 18px; font-family: var(--serif); font-style: italic; font-weight: 500; font-size: 36px; line-height: 1.05; }
.s5 { grid-column: span 5; } .s4 { grid-column: span 4; } .s3 { grid-column: span 3; }

/* Dibs */
.dibs { margin: 112px var(--pad) 0; padding: 64px; background: var(--blue); color: var(--paper); border-radius: 28px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: center; gap: 48px; }
.dibs h2 { margin: 0 0 14px; font-size: clamp(44px, 5vw, 72px); line-height: 0.95; }
.dibs p { margin: 0; font-size: 18px; line-height: 1.5; }
.dibs-cta { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.dibs-cta .btn { min-height: 64px; font-size: 16px; }
.dibs-cta a.plain { color: #fff; font-size: 15px; border-bottom: 1px solid rgba(255,255,255,.6); }

/* Footer */
.site-footer { margin-top: 112px; background: var(--ink); color: var(--paper); padding: 72px var(--pad) 40px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 32px; font-size: 15px; line-height: 2.1; }
.footer-grid img { width: 180px; height: 180px; margin-top: -30px; }
.footer-grid h3 { margin: 0; font-size: 12px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: #A8A399; }
.footer-grid a { display: block; }
.footer-grid a:hover { color: var(--green-light); }
.footer-bottom { margin-top: 48px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13px; color: #A8A399; }

/* Product page */
.crumbs { padding-top: 24px; padding-bottom: 24px; font-size: 13px; font-weight: 500; color: var(--soft); display: flex; gap: 10px; flex-wrap: wrap; }
.product { display: grid; grid-template-columns: 1.3fr 1fr; gap: 64px; align-items: start; }
.gallery { display: flex; flex-direction: column; gap: 16px; }
.gallery-main { position: relative; aspect-ratio: 4 / 4.6; background: var(--stone); border: 2px solid var(--ink); border-radius: 28px; overflow: hidden; }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.gallery-main .tag { left: 20px; bottom: 20px; font-size: 12px; letter-spacing: 0.08em; }
.thumbs { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.thumbs button { padding: 0; aspect-ratio: 1 / 1.1; border: 2px solid transparent; border-radius: 16px; overflow: hidden; background: var(--stone); cursor: pointer; }
.thumbs button[aria-pressed="true"] { border: 3px solid var(--ink); }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }
.info { display: flex; flex-direction: column; gap: 28px; padding-top: 8px; position: sticky; top: 112px; }
.pill { align-self: flex-start; padding: 7px 14px; color: #fff; border-radius: 999px; font-size: 12px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; }
.pill.green { background: var(--green); } .pill.blue { background: var(--blue); } .pill.dark { background: var(--ink); color: var(--paper); }
.info h1 { margin: 0 0 10px; font-size: clamp(56px, 6vw, 72px); line-height: 0.95; }
.price { font-size: 22px; font-weight: 700; margin-bottom: 10px; }
.note { font-size: 15px; color: var(--muted); }
.idea { padding: 24px; border: 2px solid var(--ink); border-radius: 20px; display: flex; flex-direction: column; gap: 10px; }
.idea .serif { margin: 0; font-size: 30px; line-height: 1.2; }
.idea p:last-child { margin: 0; font-size: 15px; line-height: 1.6; color: var(--muted); }
.opt-label { font-size: 13px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 12px; display: flex; justify-content: space-between; }
.opt-label span.val { font-weight: 500; text-transform: none; letter-spacing: 0; }
.swatches { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.swatch { width: 48px; height: 48px; border-radius: 50%; border: 2px solid var(--ink); display: flex; align-items: center; justify-content: center; }
.swatch i, .alt-colour i { display: block; width: 34px; height: 34px; border-radius: 50%; border: 1.5px solid var(--ink); }
.alt-colour { display: inline-flex; align-items: center; gap: 10px; height: 48px; padding: 0 18px 0 8px; border: 2px solid var(--line); border-radius: 24px; font-size: 14px; font-weight: 700; }
.alt-colour i { width: 30px; height: 30px; }
.size-row { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.size-pill { height: 52px; padding: 0 28px; display: inline-flex; align-items: center; border-radius: 26px; background: var(--ink); color: var(--paper); font-size: 15px; font-weight: 700; }
.size-row span:last-child { font-size: 14px; color: var(--muted); }
.sizes { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.sizes button { height: 52px; padding: 0 10px; border: 2px solid var(--ink); border-radius: 26px; background: transparent; color: var(--ink); font-family: var(--sans); font-size: 15px; font-weight: 700; cursor: pointer; }
.sizes button:hover { background: #E6E1D6; }
.sizes button[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.size-note { margin: 12px 0 0; font-size: 14px; color: var(--muted); }
.signature { margin: -10px 0 0 !important; font-size: 30px !important; line-height: 1.2; color: var(--ink) !important; }
.cta-big { min-height: 64px; font-size: 16px; width: 100%; }
.small-print { display: flex; gap: 24px; flex-wrap: wrap; font-size: 14px; color: var(--muted); }
.small-print strong { color: var(--green); }
.accordion { border-top: 2px solid var(--ink); }
.accordion details { border-bottom: 1px solid var(--line); }
.accordion summary { min-height: 60px; display: flex; justify-content: space-between; align-items: center; font-size: 15px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; cursor: pointer; list-style: none; }
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after { content: '+'; font-size: 20px; }
.accordion details[open] summary::after { content: '–'; }
.accordion details p { margin: 0 0 18px; font-size: 15px; line-height: 1.6; color: var(--muted); }
.see-worn { display: flex; align-items: center; gap: 18px; padding: 12px 20px 12px 12px; border: 2px solid var(--ink); border-radius: 20px; background: #fff; }
.see-worn img { width: 76px; height: 76px; border-radius: 12px; object-fit: cover; }
.see-worn .t { flex-grow: 1; display: flex; flex-direction: column; gap: 4px; }
.see-worn .t .serif { font-size: 26px; line-height: 1; }
.see-worn .t span:last-child { font-size: 14px; color: var(--muted); }
.see-worn .go { font-size: 14px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; white-space: nowrap; }
.more { padding-top: 96px; }
.more h2 { margin: 0 0 32px; font-size: clamp(40px, 5vw, 64px); }
.cards.two { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 900px; }

/* In action */
.action-sec { padding-top: 96px; }
.action-sec .section-head { margin-bottom: 28px; }
.action-sec h2 { margin: 0; font-size: clamp(40px, 5vw, 64px); }
.action-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.action-grid figure { margin: 0; position: relative; aspect-ratio: 4 / 5; border: 2px solid var(--ink); border-radius: 24px; overflow: hidden; background: #D9D3C6; }
.action-grid img { width: 100%; height: 100%; object-fit: cover; object-position: center 40%; }
.action-grid figcaption { position: absolute; left: 20px; bottom: 20px; padding: 8px 16px; background: var(--paper); border-radius: 999px; font-size: 13px; font-weight: 700; }

/* Sold-out page */
.soldout-page { padding-top: 56px; padding-bottom: 56px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 64px; min-height: calc(100vh - 132px); }
.soldout-photo { border: 2px solid var(--ink); border-radius: 28px; overflow: hidden; background: #D9D3C6; min-height: 520px; }
.soldout-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 55% 50%; }
.soldout-copy { display: flex; flex-direction: column; justify-content: center; gap: 28px; }
.soldout-copy h1 { margin: 0; font-size: clamp(52px, 6vw, 80px); line-height: 0.95; }
.soldout-copy p { margin: 0; max-width: 520px; font-size: 19px; line-height: 1.6; color: var(--muted); }
.soldout-copy p a { color: var(--blue); font-weight: 700; border-bottom: 2px solid var(--blue); }

/* ---------- Tablet ---------- */
@media (max-width: 1100px) {
  :root { --pad: 32px; }
  .main-nav { gap: 24px; font-size: 13px; }
  .hero { grid-template-columns: 1fr 1fr; min-height: 640px; }
  .studio-copy { padding: 56px 40px; }
  .pillars { grid-template-columns: 1fr; }
  .life-grid { grid-auto-rows: 420px; }
  .product { gap: 40px; }
}

/* ---------- Phone ---------- */
@media (max-width: 760px) {
  :root { --pad: 20px; }
  .announce { gap: 12px; font-size: 11px; letter-spacing: 0.08em; }
  .announce .hide-sm { display: none; }
  .site-header { height: 68px; }
  .logo img { width: 52px; height: 52px; }
  .main-nav { display: none; }
  .menu { display: block; }
  .bag { height: 40px; padding: 0 16px; }
  .hero { grid-template-columns: 1fr; min-height: 0; }
  .hero-copy { padding: 40px var(--pad) 32px; gap: 28px; }
  .hero-photo { height: 460px; }
  .quote-band { padding: 48px var(--pad); }
  .section { padding-top: 64px; }
  .section-head { margin-bottom: 24px; }
  .collections { grid-template-columns: 1fr; gap: 14px; }
  .collection { min-height: 0; padding: 24px; gap: 40px; }
  .cards, .cards.two { grid-template-columns: 1fr; gap: 32px; }
  .studio { grid-template-columns: 1fr; margin-top: 64px; }
  .studio-photo { border-right: 0; border-bottom: 2px solid var(--ink); min-height: 0; height: 360px; }
  .studio-copy { padding: 40px var(--pad); }
  .life-intro { text-align: left; }
  .life-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 260px; gap: 10px; grid-auto-flow: dense; }
  .life-grid .s5, .life-grid .s4, .life-grid .s3 { grid-column: span 1; }
  .life-grid .wide { grid-column: span 2; }
  .life-grid figcaption { left: 10px; bottom: 10px; padding: 6px 10px; font-size: 12px; }
  .life-grid figcaption.big { right: 10px; padding: 14px; font-size: 24px; }
  .dibs { margin: 64px var(--pad) 0; padding: 32px 24px; grid-template-columns: 1fr; gap: 24px; }
  .dibs-cta, .dibs-cta .btn { width: 100%; }
  .site-footer { margin-top: 64px; padding: 48px var(--pad) 32px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > div:first-child { grid-column: span 2; }
  .footer-grid img { width: 120px; height: 120px; margin: -10px 0 0 -14px; }
  .product { grid-template-columns: 1fr; gap: 32px; }
  .info { position: static; gap: 22px; }
  .thumbs { gap: 8px; }
  .thumbs button { border-radius: 10px; }
  .soldout-page { grid-template-columns: 1fr; gap: 32px; padding-top: 24px; min-height: 0; }
  .soldout-photo { min-height: 0; height: 320px; }
  .soldout-copy .btn { width: 100%; }
  .see-worn .t span:last-child { display: none; }
  .sizes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .action-sec { padding-top: 56px; }
  .action-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .action-grid figure:nth-child(3) { grid-column: span 2; aspect-ratio: 4 / 3; }
  .action-grid figure { border-radius: 16px; }
  .action-grid figcaption { left: 10px; bottom: 10px; padding: 6px 10px; font-size: 12px; }
}
