/* ------------------------------------------------------------
   Shortcut — Technical Fashion Services
   Monochrome editorial: extended grotesk caps, small caps body,
   thin rules, square black buttons.
   ------------------------------------------------------------ */

:root {
  --bg: #f5f5f3;
  --white: #ffffff;
  --ink: #111111;
  --ink-2: #2a2a2b;
  --muted: #5e5e5e;          /* 6.2:1 on --bg */
  --line: #111111;
  --line-soft: #cfcfcb;
  --dark: #141414;
  --dark-text: #f5f5f3;
  --dark-muted: #b4b4b0;     /* 8.9:1 on --dark */

  --display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --sans: "Inter", "Helvetica Neue", Arial, sans-serif;

  --gutter: clamp(16px, 4.2vw, 60px);
  --max: 1440px;
  --section: clamp(72px, 10vw, 150px);
  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink-2);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.5;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.menu-open { overflow: hidden; }

/* Form fields and placeholders read better in sentence case */
input, select, textarea, ::placeholder { text-transform: none; }

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
ul, ol { margin: 0; padding: 0; }
h1, h2, h3, h4, p, figure { margin: 0; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

.skip-link { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--ink); color: var(--bg); padding: 10px 16px; text-decoration: none; }
.skip-link:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.dark :focus-visible { outline-color: var(--dark-text); }

/* ---------- Display type ---------- */

h1, h2, h3, .mega, .statement, .sub-statement, .section-title, .case-title {
  font-family: var(--display);
  font-stretch: 125%;
  font-variation-settings: "wdth" 125;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--ink);
  line-height: 1.02;
}

.mega {
  font-weight: 900;
  font-size: 15vw;               /* refined by JS fit-to-width */
  letter-spacing: -0.075em;
  line-height: 0.86;
  white-space: nowrap;
  margin-left: -0.02em;
}

h1 { font-size: clamp(30px, 4.6vw, 66px); letter-spacing: -0.065em; }
.section-title { font-size: clamp(40px, 7.2vw, 108px); letter-spacing: -0.075em; line-height: 0.95; }
.statement { font-size: clamp(26px, 3.6vw, 52px); letter-spacing: -0.065em; line-height: 1.05; max-width: 22ch; }
.sub-statement { font-size: clamp(20px, 2.3vw, 32px); letter-spacing: -0.06em; line-height: 1.12; }

.receive-label {
  font-family: var(--display); font-stretch: 125%; font-variation-settings: "wdth" 125;
  font-weight: 800; font-size: 13px; letter-spacing: -0.02em; color: var(--ink);
  margin: 26px 0 8px;
}

/* ---------- Links & buttons ---------- */

.hero-text a, .text-link, .contact-direct a {
  color: var(--ink);
  text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px;
}
.text-link { display: inline-block; margin-top: 22px; font-weight: 500; }
.text-link::after { content: " →"; }
.text-link:hover, .hero-text a:hover { text-decoration-thickness: 2px; }

.btn {
  display: inline-flex; align-items: center; gap: 12px;
  min-height: 52px; padding: 16px 26px;
  background: var(--ink); color: var(--bg);
  border: 1px solid var(--ink); border-radius: 0;
  font: 500 15px/1 var(--sans); letter-spacing: 0.04em; text-transform: uppercase;
  text-decoration: none; cursor: pointer;
  transition: background .2s, color .2s;
}
.btn::after { content: "→"; transition: transform .2s; }
.btn:hover { background: transparent; color: var(--ink); }
.btn:hover::after { transform: translateX(4px); }
.btn-light { background: var(--dark-text); color: var(--dark); border-color: var(--dark-text); }
.btn-light:hover { background: transparent; color: var(--dark-text); }

/* ---------- Header & menu ---------- */

.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); }
.wordmark { font-size: 16px; font-weight: 500; letter-spacing: 0.02em; text-decoration: none; color: var(--ink); }
.header-right { display: flex; align-items: center; gap: 28px; }
.header-cta { font-size: 14px; font-weight: 500; color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.header-cta::after { content: " →"; }

.nav-toggle { width: 44px; height: 44px; display: grid; place-items: center; background: none; border: 0; cursor: pointer; color: var(--ink); padding: 0; }
.nav-toggle-icon, .nav-toggle-icon::before {
  display: block; width: 32px; height: 1.5px; background: currentColor; position: relative; transition: transform .3s;
}
.nav-toggle-icon { transform: translateY(-4px); }
.nav-toggle-icon::before { content: ""; position: absolute; left: 0; top: 9px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-icon { transform: translateY(0) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-icon::before { transform: translateY(-9px) rotate(-90deg); }

.site-nav {
  position: fixed; left: 0; right: 0; top: var(--header-h); bottom: 0;
  background: var(--bg); overflow-y: auto;
  visibility: hidden; opacity: 0; transition: opacity .25s, visibility .25s;
}
.site-nav.is-open { visibility: visible; opacity: 1; }
.site-nav ul { list-style: none; padding: clamp(24px, 5vh, 56px) 0 32px; }
.site-nav li { border-bottom: 1px solid var(--line-soft); }
.site-nav li a {
  display: flex; align-items: baseline; gap: 18px; padding: 14px 0;
  text-decoration: none; color: var(--ink);
  font-family: var(--display); font-stretch: 125%; font-variation-settings: "wdth" 125; font-weight: 800;
  font-size: clamp(30px, 6.2vw, 84px); letter-spacing: -0.075em; line-height: 1;
}
.site-nav li a span { font-family: var(--sans); font-size: 13px; font-weight: 500; letter-spacing: 0.02em; min-width: 2.2em; }
.site-nav li a:hover { opacity: .55; }
.nav-foot { padding-bottom: 40px; font-size: 13px; color: var(--muted); }

@media (max-width: 560px) { .header-cta { display: none; } }

/* ---------- Hero ---------- */

.hero { padding: clamp(36px, 5vw, 64px) 0 var(--section); }
.hero .mega { color: var(--ink); }
.hero-figure { margin-top: clamp(28px, 4vw, 56px); background: var(--white); padding: clamp(20px, 4vw, 64px); }
.hero-figure img { width: 100%; max-height: 82vh; object-fit: contain; }

.hero-copy { margin-top: clamp(36px, 5vw, 72px); max-width: 980px; }
.hero-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: clamp(48px, 7vw, 96px); }
.hero-pair figure { background: var(--white); padding: clamp(16px, 3vw, 48px); display: flex; flex-direction: column; }
.hero-pair img { width: 100%; flex: 1; object-fit: contain; max-height: 78vh; }
@media (max-width: 640px) { .hero-pair { grid-template-columns: 1fr; } }
.hero-copy h1 { margin-bottom: 28px; }
.hero-text { display: grid; gap: 14px; max-width: 760px; margin-bottom: 40px; }

/* ---------- Sections ---------- */

.rule { border-top: 1px solid var(--line); }
.section-intro { max-width: 720px; margin-top: 28px; }

.intro { padding: var(--section) 0; }
.intro .sub-statement { margin-top: 26px; }
.cols { display: grid; grid-template-columns: 1fr 1fr; gap: 24px clamp(24px, 4vw, 64px); margin-top: clamp(36px, 5vw, 64px); max-width: 1100px; }
@media (max-width: 760px) { .cols { grid-template-columns: 1fr; } }

/* Services */
.services { padding: var(--section) 0; }
.service-list { list-style: none; margin-top: clamp(40px, 6vw, 80px); }
.service {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 20px clamp(24px, 5vw, 80px);
  padding: clamp(28px, 4vw, 48px) 0;
  border-top: 1px solid var(--line);
}
.service:last-child { border-bottom: 1px solid var(--line); }
.service h3 { font-size: clamp(22px, 2.6vw, 38px); letter-spacing: -0.065em; }
.service h3 span, .steps h3 span { display: block; font-size: .5em; letter-spacing: -0.03em; margin-bottom: 10px; }
.service-body ul, .case-text ul { list-style: none; }
.service-body li, .case-text li { padding: 9px 0; border-bottom: 1px solid var(--line-soft); }
.service-body li::before, .case-text li::before { content: "— "; }
@media (max-width: 820px) { .service { grid-template-columns: 1fr; } }

/* Dark sections */
.dark { background: var(--dark); color: var(--dark-text); }
.dark h2, .dark h3, .dark .receive-label { color: var(--dark-text); }

.process { padding: var(--section) 0; }
.steps { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: clamp(40px, 6vw, 80px); border-top: 1px solid var(--dark-text); }
.steps li { padding: 28px 24px 28px 0; }
.steps li + li { padding-left: 24px; border-left: 1px solid rgba(245,245,243,.25); }
.steps h3 { font-size: clamp(20px, 1.9vw, 28px); letter-spacing: -0.06em; margin-bottom: 16px; }
.steps p { color: var(--dark-muted); }
.process-notes { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 48px; margin-top: 48px; padding-top: 28px; border-top: 1px solid rgba(245,245,243,.25); }
.process-notes p { color: var(--dark-muted); }
.process-notes strong { color: var(--dark-text); font-weight: 600; }
@media (max-width: 960px) {
  .steps { grid-template-columns: 1fr 1fr; }
  .steps li:nth-child(3) { padding-left: 0; border-left: 0; }
  .steps li:nth-child(n+3) { border-top: 1px solid rgba(245,245,243,.25); }
}
@media (max-width: 600px) {
  .steps { grid-template-columns: 1fr; }
  .steps li, .steps li + li { padding: 24px 0; border-left: 0; }
  .steps li + li { border-top: 1px solid rgba(245,245,243,.25); }
  .process-notes { grid-template-columns: 1fr; }
}

/* Work */
.work { padding-top: var(--section); }
.work > .wrap { padding-bottom: clamp(48px, 6vw, 80px); }
.case { padding: clamp(48px, 7vw, 100px) 0; }
.case-title { font-weight: 900; font-size: clamp(76px, 21vw, 320px); letter-spacing: -0.08em; line-height: 0.82; margin-left: -0.03em; }
.case-sub { margin-top: 22px; font-family: var(--display); font-stretch: 125%; font-variation-settings: "wdth" 125; font-weight: 800; letter-spacing: -0.04em; font-size: clamp(16px, 1.7vw, 22px); color: var(--ink); }
.case-grid { display: grid; grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.25fr); gap: clamp(32px, 5vw, 80px); margin-top: clamp(36px, 5vw, 64px); align-items: start; }
.case-text { position: sticky; top: calc(var(--header-h) + 28px); }
.case-deliverables { margin-top: 22px; color: var(--muted); font-size: 13px; }

.case-media figure { background: var(--white); padding: clamp(14px, 2vw, 28px); }
figcaption { margin-top: 12px; font-size: 12px; color: var(--muted); letter-spacing: 0.03em; }
.case-media--trio { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.case-media--trio .m-main { grid-column: 1 / -1; }
.case-media--stack { display: grid; gap: 12px; }
.media-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; align-items: start; }
@media (max-width: 900px) {
  .case-grid { grid-template-columns: 1fr; }
  .case-text { position: static; }
}
@media (max-width: 520px) { .case-media--trio, .media-pair { grid-template-columns: 1fr; } }

/* Consulting */
.consulting { padding: var(--section) 0; }
.consulting-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px clamp(32px, 6vw, 100px); margin-top: clamp(40px, 6vw, 72px); }
.consulting .lede { font-size: 17px; margin-bottom: 36px; max-width: 34em; }
.consulting .receive-label { margin-top: 0; }
.question-list { list-style: none; border-top: 1px solid var(--dark-text); }
.question-list li {
  padding: 16px 0; border-bottom: 1px solid rgba(245,245,243,.25);
  font-family: var(--display); font-stretch: 125%; font-variation-settings: "wdth" 125; font-weight: 700;
  font-size: clamp(16px, 1.6vw, 21px); letter-spacing: -0.045em; line-height: 1.2;
}
@media (max-width: 860px) { .consulting-grid { grid-template-columns: 1fr; } }

/* About */
.about { padding: var(--section) 0; }
.about-grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 100px); margin-top: clamp(40px, 6vw, 72px); align-items: start; }
.about-figure img { width: 100%; height: auto; filter: grayscale(1); }
.about-text { display: grid; gap: 18px; max-width: 720px; }
.about-text .sub-statement { margin-bottom: 10px; }
.skill-tags { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.skill-tags li { border: 1px solid var(--ink); padding: 6px 12px; font-size: 12.5px; font-weight: 500; }
@media (max-width: 800px) { .about-grid { grid-template-columns: 1fr; } .about-figure { max-width: 440px; } }

/* Student note */
.student-note { padding: 36px 0 var(--section); }
.note-inner { display: grid; grid-template-columns: 1fr 2fr; gap: 16px 48px; }
.student-note h2 { font-size: clamp(18px, 1.8vw, 24px); letter-spacing: -0.06em; }
.student-note p { max-width: 760px; }
@media (max-width: 760px) { .note-inner { grid-template-columns: 1fr; } }

/* Contact */
.contact { padding: var(--section) 0; }
.mega--contact { white-space: normal; font-size: clamp(44px, 9.6vw, 150px); line-height: 0.9; }
.contact-grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 40px clamp(32px, 6vw, 100px); margin-top: clamp(40px, 6vw, 80px); align-items: start; }
.contact-intro { display: grid; gap: 18px; max-width: 520px; }
.contact-direct a { font-family: var(--display); font-stretch: 125%; font-variation-settings: "wdth" 125; font-weight: 800; letter-spacing: -0.05em; font-size: clamp(18px, 1.8vw, 24px); text-transform: lowercase; }

.enquiry { display: grid; gap: 18px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 8px; }
.field label { font-size: 12.5px; font-weight: 600; color: var(--ink); }
.optional { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; font: 16px/1.4 var(--sans); color: var(--ink);
  background: var(--white); border: 1px solid var(--ink); border-radius: 0;
  padding: 13px 14px; min-height: 50px;
}
.field textarea { resize: vertical; min-height: 150px; }
.field select {
  appearance: none; -webkit-appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%);
  background-position: calc(100% - 20px) 50%, calc(100% - 15px) 50%;
  background-size: 5px 5px; background-repeat: no-repeat; padding-right: 40px;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--ink); outline-offset: 0; }
.field [aria-invalid="true"] { outline: 2px solid #b3261e; }
::placeholder { color: #737373; }
.form-hint { font-size: 12.5px; color: var(--muted); }
.form-error { color: #b3261e; font-weight: 500; }
.enquiry .btn { justify-self: start; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .field-row { grid-template-columns: 1fr; } .enquiry .btn { justify-self: stretch; justify-content: center; } }

/* Footer */
.site-footer { background: var(--dark); color: var(--dark-muted); padding: clamp(48px, 7vw, 96px) 0 32px; font-size: 13px; }
.mega--footer { color: var(--dark-text); }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px 32px; margin-top: clamp(32px, 5vw, 64px); padding-top: 20px; border-top: 1px solid rgba(245,245,243,.25); }
.site-footer ul { display: flex; flex-wrap: wrap; gap: 8px 24px; list-style: none; }
.site-footer a { text-decoration: none; color: var(--dark-text); }
.site-footer a:hover { text-decoration: underline; }

/* Reveal */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* Email addresses keep their real case */
.js-email { text-transform: lowercase; }

/* Closing invitation (end of page) */
.closing { padding: var(--section) 0 clamp(40px, 5vw, 72px); }
.closing-inner { display: grid; gap: 36px; }
.closing-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 32px; }
.closing-email { color: var(--dark-text); font-family: var(--display); font-stretch: 125%; font-variation-settings: "wdth" 125; font-weight: 800; letter-spacing: -0.05em; font-size: clamp(18px, 1.8vw, 24px); text-underline-offset: 4px; }
.closing + * , .closing ~ .site-footer { border-top: 1px solid rgba(245,245,243,.25); }
.site-footer .js-email { text-transform: uppercase; }

/* Form: spam trap + success state */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form-success { padding: clamp(28px, 4vw, 48px); background: var(--white); border: 1px solid var(--ink); outline: none; }
.form-success-title { font-family: var(--display); font-stretch: 125%; font-variation-settings: "wdth" 125; font-weight: 800; letter-spacing: -0.06em; font-size: clamp(26px, 3vw, 40px); color: var(--ink); margin-bottom: 12px; }
.btn:disabled { opacity: .6; cursor: wait; }
.form-error a { color: inherit; }
