@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
  src: url('fonts/archivo-latin.woff2') format('woff2');
}

:root {
  color-scheme: light;
  --ink: #15171a;
  --paper: #f4f4f1;
  --white: #ffffff;
  --surface: #e4e4e0;
  --muted: #5b6068;
  --line: #d9d9d4;
  --lime: #c6f343;
  --on-dark: #c9ccd1;
  --font: 'Archivo', system-ui, sans-serif;
  --gutter: clamp(1rem, 4vw, 3.5rem);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 1rem/1.6 var(--font); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
img { display: block; width: 100%; height: auto; }
button { font: inherit; cursor: pointer; }
h1, h2, h3, p, figure, dl, dd, ol, ul { margin: 0; }
ul, ol { padding: 0; list-style: none; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid #2f6fd6; outline-offset: 3px; }
.wrap { width: min(100% - var(--gutter) * 2, 82rem); margin-inline: auto; }
.section { padding-block: clamp(4rem, 8vw, 7.5rem); }
section[id] { scroll-margin-top: 4rem; }
.sr-only, .skip:not(:focus) {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.skip:focus { position: fixed; z-index: 3; padding: .65rem; background: var(--white); color: var(--ink); }
.icon { width: 1.15rem; height: 1.15rem; flex: none; }

h1, h2 { font-weight: 800; font-stretch: 70%; line-height: .95; letter-spacing: -.01em; }
h1 { font-size: clamp(4.2rem, 10vw, 9.5rem); }
h2 { font-size: clamp(2.4rem, 4.6vw, 4rem); }

/* Header */
.header { position: sticky; top: 0; z-index: 2; color: var(--white); background: var(--ink); }
.header-inner { display: flex; justify-content: space-between; align-items: center; gap: 1.25rem; min-height: 4rem; }
.brand { display: inline-flex; align-items: center; gap: .45rem; white-space: nowrap; font-weight: 900; font-style: italic; font-size: 1.2rem; letter-spacing: -.04em; }
.brand > span > span { color: #6aaef5; }
.brand-mark { width: 2.4rem; height: 1.6rem; }
.header nav { display: flex; gap: clamp(1.2rem, 3vw, 2.5rem); font-size: .9rem; font-weight: 500; }
.header nav a { padding-block: .5rem; color: var(--on-dark); }
.header nav a:hover { color: var(--white); }

/* Buttons */
.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: .55rem;
  min-height: 3rem;
  padding: .6rem 1.3rem;
  border: 1px solid var(--ink);
  border-radius: 999px;
  background: var(--ink);
  color: var(--white);
  font-size: .92rem;
  font-weight: 600;
  white-space: nowrap;
  transition: background-color .15s, color .15s, border-color .15s;
}
.button:hover { background: #33373d; border-color: #33373d; }
.button-small { min-height: 2.4rem; padding-inline: 1rem; font-size: .875rem; }
.button-outline { background: transparent; color: var(--ink); }
.button-outline:hover { background: var(--ink); color: var(--white); }
.button-light { background: var(--white); color: var(--ink); border-color: var(--white); }
.button-light:hover { background: var(--lime); border-color: var(--lime); }

/* Hero */
.hero { background: var(--paper); border-bottom: 1px solid var(--line); }
.hero-inner { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: end; gap: clamp(2rem, 5vw, 5rem); padding-block: clamp(2.5rem, 5vw, 4.5rem); }
.hero-copy { padding-bottom: .5rem; }
.hero h1 { max-width: 11ch; font-size: clamp(3.2rem, 6.4vw, 6.4rem); }
.hero-description { max-width: 38ch; margin-block: 1.4rem 1.8rem; font-size: clamp(1.02rem, 1.3vw, 1.15rem); color: #33373d; }
.actions { display: flex; flex-wrap: wrap; gap: .6rem; }
.hero-specs { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 2.2rem; margin-top: 2.5rem; padding-top: 1.3rem; border-top: 1px solid var(--line); }
.hero-specs dt { font-size: .8rem; color: var(--muted); }
.hero-specs dd { font-weight: 600; font-size: .95rem; }
.hero-mosaic { display: grid; grid-template-columns: 1.35fr 1fr; grid-template-rows: 1fr 1fr; gap: .75rem; aspect-ratio: 1.15; }
.hero-tile { position: relative; display: block; min-height: 0; overflow: hidden; background: var(--surface); }
.hero-tile-main { grid-row: span 2; }
.hero-tile img { height: 100%; object-fit: cover; transition: transform .4s ease; }
.hero-tile:hover img { transform: scale(1.03); }
.hero-tile span { position: absolute; left: .8rem; bottom: .8rem; padding: .2rem .7rem; border-radius: 999px; background: var(--white); font-size: .8rem; font-weight: 600; }

/* Catalog */
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 2rem; margin-bottom: 2rem; }
.section-heading > p { max-width: 40ch; color: var(--muted); }
.catalog-controls { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 1rem 2rem; margin-bottom: 1.8rem; border-bottom: 1px solid var(--line); }
.filters { display: flex; flex-wrap: wrap; gap: 1.6rem; }
.team-filter { display: inline-flex; align-items: center; gap: .6rem; padding-bottom: .5rem; font-size: .875rem; color: var(--muted); }
.team-filter select {
  min-height: 2.6rem;
  padding: .3rem 2.2rem .3rem 1rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%2315171a' stroke-width='1.6'/%3E%3C/svg%3E") no-repeat right .9rem center / .7rem;
  color: var(--ink);
  font: inherit;
  font-weight: 500;
  appearance: none;
  cursor: pointer;
}
.team-filter select:hover { border-color: var(--ink); }
.catalog-empty { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 2rem; padding: 2rem; border: 1px dashed var(--line); border-radius: .5rem; }
.catalog-empty p { max-width: 48ch; color: var(--muted); }
.filters button {
  display: inline-flex;
  align-items: baseline;
  gap: .4rem;
  min-height: 2.9rem;
  margin-bottom: -1px;
  padding: 0;
  border: 0;
  border-bottom: 2px solid transparent;
  background: none;
  color: var(--muted);
  font-size: .95rem;
  font-weight: 500;
}
.filters button:hover { color: var(--ink); }
.filters button[aria-pressed="true"] { color: var(--ink); font-weight: 600; border-bottom-color: var(--ink); }
.filters button::after { content: attr(data-count); font-size: .78rem; color: var(--muted); font-weight: 400; }
.catalog-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2.8rem 1.25rem; }
.product { display: flex; flex-direction: column; min-width: 0; }
.product-photo { position: relative; display: block; overflow: hidden; background: var(--surface); aspect-ratio: 5 / 6; cursor: zoom-in; }
.product-photo img { height: 100%; object-fit: cover; object-position: center 48%; transition: transform .4s ease; }
.product-photo:hover img { transform: scale(1.03); }
.product-views { position: absolute; left: .7rem; bottom: .7rem; padding: .15rem .6rem; border-radius: 999px; background: var(--white); font-size: .75rem; font-weight: 500; }
.product-info { padding-block: .85rem .7rem; }
.product-info p { font-size: .85rem; color: var(--muted); }
.product-info h3 { font-size: 1.02rem; font-weight: 600; line-height: 1.3; }
.product-quote {
  display: inline-flex;
  align-self: flex-start;
  align-items: center;
  gap: .4rem;
  min-height: 2.5rem;
  margin-top: auto;
  padding: .35rem 1rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: .875rem;
  font-weight: 600;
  transition: border-color .15s, background-color .15s;
}
.product-quote:hover { border-color: var(--ink); background: var(--white); }

/* Lookbook */
.lookbook { background: var(--white); border-block: 1px solid var(--line); }
.lookbook-inner { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); align-items: center; gap: clamp(2rem, 5vw, 5rem); padding-block: clamp(3.5rem, 7vw, 6rem); }
.lookbook-copy p { max-width: 32ch; margin-top: 1.1rem; color: var(--muted); }
.lookbook figure img { border-radius: .5rem; }
.lookbook figcaption { margin-top: .6rem; color: var(--muted); font-size: .82rem; }

/* Custom orders */
.service { background: var(--ink); color: var(--white); }
.service-inner { display: grid; grid-template-columns: 1.1fr 1fr; align-items: center; gap: clamp(2.5rem, 7vw, 7rem); padding-block: clamp(4rem, 8vw, 7.5rem); }
.service-media { position: relative; min-width: 0; padding-right: 16%; }
.service-media a { display: block; cursor: zoom-in; }
.service-media > a:first-child img { aspect-ratio: 1 / 1; object-fit: cover; object-position: center 43%; }
.service-inset { position: absolute; right: 0; bottom: 8%; width: 40%; outline: .4rem solid var(--ink); }
.service-inset img { aspect-ratio: .84; object-fit: cover; }
.service-copy > p { max-width: 44ch; margin-top: 1.2rem; color: var(--on-dark); font-size: 1.05rem; }
.steps { counter-reset: step; margin-block: 2rem 2.2rem; border-top: 1px solid #2c3036; }
.steps li { counter-increment: step; display: grid; grid-template-columns: 2.4rem 1fr; padding-block: 1rem; border-bottom: 1px solid #2c3036; }
.steps li::before { content: counter(step); grid-row: span 2; color: var(--lime); font-weight: 700; font-stretch: 75%; font-size: 1.25rem; line-height: 1.3; }
.steps strong { font-weight: 600; }
.steps span { color: var(--on-dark); font-size: .95rem; }

/* Size guide */
.sizing { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); align-items: start; gap: clamp(2rem, 5vw, 5rem); }
.sizing p { margin-top: 1.2rem; color: var(--muted); max-width: 44ch; }
.size-tables { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }
.size-tables h3 { margin-bottom: .6rem; font-size: 1rem; font-weight: 600; }
.sizing .size-note { margin-top: .7rem; font-size: .875rem; }
.text-link { display: inline-flex; align-items: center; min-height: 2.75rem; margin-top: .8rem; font-weight: 600; text-decoration: underline; text-underline-offset: .25rem; text-decoration-thickness: 1px; }
.text-link:hover { text-decoration-thickness: 2px; }
.table-box { min-width: 0; background: var(--white); border: 1px solid var(--line); border-radius: .5rem; overflow: hidden; }
table { width: 100%; border-collapse: collapse; text-align: center; font-variant-numeric: tabular-nums; }
td, th { padding: .85rem .5rem; }
thead th { font-size: .85rem; font-weight: 600; color: var(--muted); border-bottom: 1px solid var(--line); }
tbody th { font-weight: 700; }
tbody tr + tr { border-top: 1px solid #ecece8; }

/* Instagram */
.instagram { background: var(--white); border-top: 1px solid var(--line); }
.instagram-inner { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); align-items: center; gap: clamp(2rem, 5vw, 5rem); padding-block: clamp(3.5rem, 7vw, 6rem); }
.instagram h2 + p { max-width: 34ch; margin-top: 1.1rem; color: var(--muted); }
.instagram-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1.4rem; margin-top: 1.5rem; }
.instagram-actions .text-link { margin-top: 0; }
.instagram-tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .5rem; }
.instagram-tiles img { aspect-ratio: 4 / 5; object-fit: cover; background: var(--surface); }
.instagram-preview iframe { display: block; width: min(100%, 30rem); margin-inline: auto; border: 1px solid var(--line); border-radius: .5rem; background: var(--white); }

/* Footer */
.footer { background: var(--ink); color: var(--white); }
.footer-top { display: grid; grid-template-columns: 1fr 1.3fr; gap: 3rem; padding-block: clamp(3rem, 6vw, 4.5rem); }
.footer-brand p { max-width: 32ch; margin-block: 1rem 1.5rem; color: var(--on-dark); }
.footer-links { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; }
.footer-links h2 { font-size: .85rem; font-stretch: 100%; font-weight: 600; letter-spacing: 0; line-height: 1.4; color: var(--white); margin-bottom: .8rem; }
.footer-links a { display: inline-flex; align-items: center; gap: .45rem; min-height: 2.4rem; color: var(--on-dark); font-size: .92rem; }
.footer-links a:hover { color: var(--white); }
.footer-bottom { padding-block: 1.3rem; border-top: 1px solid #2c3036; }
.footer-bottom p { color: #8d9198; font-size: .82rem; }

/* Gallery */
.gallery { width: min(92vw, 46rem); max-height: 93dvh; border: 0; border-radius: .6rem; background: var(--white); color: var(--ink); padding: 0; }
.gallery::backdrop { background: #15171ae0; }
.gallery-panel { padding: .9rem; }
.gallery-panel header { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-bottom: .6rem; }
.gallery-panel h2 { font-size: 1.1rem; font-stretch: 100%; font-weight: 600; line-height: 1.3; letter-spacing: 0; }
.gallery-close { display: grid; place-items: center; width: 2.75rem; height: 2.75rem; border: 0; border-radius: 999px; background: var(--paper); color: var(--ink); }
.gallery-close:hover { background: var(--surface); }
.gallery-image { max-height: 69dvh; object-fit: contain; background: var(--paper); border-radius: .35rem; }
.gallery-controls { display: flex; justify-content: center; gap: .5rem; margin-top: .75rem; }
.gallery-controls button { min-height: 2.6rem; padding: .3rem 1.1rem; border: 1px solid var(--line); border-radius: 999px; background: var(--white); color: var(--ink); font-size: .875rem; font-weight: 500; }
.gallery-controls button:hover { border-color: var(--ink); }
.gallery-controls button[aria-pressed="true"] { background: var(--ink); color: var(--white); border-color: var(--ink); }

@media (max-width: 1000px) {
  .catalog-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hero-inner, .lookbook-inner, .instagram-inner { grid-template-columns: 1fr; align-items: start; }
  .footer-top { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .header-inner { display: grid; grid-template-columns: 1fr auto; gap: .2rem .8rem; padding-block: .6rem .2rem; }
  .header nav { grid-row: 2; grid-column: 1 / -1; }
  .hero-specs { gap: 1.4rem; }
  .catalog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem .75rem; }
  .section-heading { display: block; }
  .section-heading > p { margin-top: .9rem; }
  .service-inner, .sizing, .size-tables { grid-template-columns: 1fr; }
  .service-copy { grid-row: 1; }
  .service-media { max-width: 33rem; }
  .footer-links { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 440px) {
  .hero-specs { gap: 1rem; }
  .product-views { display: none; }
  .product-quote { padding-inline: .8rem; }
  .actions .button { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0s !important; }
}
@media (max-width: 760px) {
  .hero-mosaic { grid-template-columns: 1fr 1fr; grid-template-rows: auto; aspect-ratio: auto; }
  .hero-tile { aspect-ratio: 1; }
  .hero-tile-main { grid-column: span 2; grid-row: auto; aspect-ratio: 4 / 3; }
  .hero-tile-main img { object-position: center 30%; }
  .hero-tile span { left: .5rem; bottom: .5rem; font-size: .75rem; white-space: nowrap; }
}
