/*
 * Yiğit Konsept — public site. One stylesheet, no build step, no framework.
 *
 * A dark showroom: near-black ground, one restrained gold accent, photographs
 * doing the work. What reads as premium is space and type scale, not colour.
 * Sections differ in rhythm on purpose — the old page was one card grid
 * repeated until the footer.
 */

/* --- fonts --- */
/* Self-hosted. latin-ext, because ğ ş ı İ ç ö ü are not in latin. */
@font-face { font-family: 'Outfit'; src: url('/assets/fonts/outfit-600.woff2') format('woff2'); font-weight: 600; font-display: swap; }
@font-face { font-family: 'Outfit'; src: url('/assets/fonts/outfit-400.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Inter'; src: url('/assets/fonts/inter-400.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Inter'; src: url('/assets/fonts/inter-600.woff2') format('woff2'); font-weight: 600; font-display: swap; }

/* --- tokens --- */
:root {
  /* Four grounds, not one: a single flat background makes every section sit at
     the same depth. */
  --ink: #08080a;
  --bg: #0c0c0e;
  --surface: #131316;
  --surface-2: #1a1a1e;

  --text: #f4f4f6;
  --text-soft: #a8a8b0;
  --text-muted: #6e6e77;

  --gold: #d4af37;
  --gold-bright: #e8c86a;
  /* Wood and leather, for hairlines and small marks only. Covering area with it
     stops reading as a material and starts reading as a colour scheme. */
  --sand: #c8b49a;

  --line: rgba(255, 255, 255, 0.09);
  --line-strong: rgba(255, 255, 255, 0.16);

  --font-heading: 'Outfit', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;

  /* Rounded reads friendly; 4px reads built. */
  --radius: 4px;
  --wrap: 1240px;
  --wrap-narrow: 760px;

  --step-1: 0.5rem;
  --step-2: 1rem;
  --step-3: 1.5rem;
  --step-4: 2.5rem;
  --step-5: 4rem;
  --step-6: 6rem;

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --header-h: 72px;
}

/* --- reset --- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 1rem);
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, picture, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul { list-style: none; padding: 0; }

/* --- type --- */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

h1 { font-size: clamp(2.4rem, 6.5vw, 4.75rem); }
h2 { font-size: clamp(1.9rem, 4.2vw, 3.1rem); }
h3 { font-size: clamp(1.15rem, 1.8vw, 1.4rem); letter-spacing: -0.02em; }

p { text-wrap: pretty; }

.eyebrow {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.eyebrow::before {
  content: '';
  width: 28px;
  height: 1px;
  background: currentColor;
  flex: none;
}
.eyebrow--plain::before { display: none; }

.lede {
  font-size: clamp(1.02rem, 1.6vw, 1.2rem);
  color: var(--text-soft);
  max-width: 56ch;
}

:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

.skip {
  position: absolute;
  left: -9999px;
  padding: 0.75rem 1rem;
  background: var(--gold);
  color: #000;
  z-index: 200;
}
.skip:focus { left: 1rem; top: 1rem; }

/* --- motion --- */
/* Reveal on scroll; site.js adds the class. Without JavaScript nothing here
   applies and everything is simply visible, which is the right failure. */
[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
  transition-delay: var(--reveal-delay, 0ms);
}
[data-reveal].is-visible { opacity: 1; transform: none; }

/* Arrives from behind its own edge rather than fading in as a rectangle. */
[data-reveal='image'] { transform: none; clip-path: inset(0 0 12% 0); }
[data-reveal='image'].is-visible { clip-path: inset(0 0 0 0); }

/* The hero's settle, for section photographs: a slow scale that ends. Slower
   than the text reveals because it is a bigger thing moving. */
[data-reveal='media'] { opacity: 0; transform: scale(1.06); transition-duration: 1.1s; }
[data-reveal='media'].is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
  /* Not just "no animation" — visible. Killing the transition alone would
     leave every revealed element at opacity 0 forever. */
  [data-reveal] { opacity: 1 !important; transform: none !important; clip-path: none !important; }
}

/* Free page transitions where supported, ignored silently everywhere else. */
@view-transition { navigation: auto; }

/* --- layout --- */
.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }
.wrap--narrow { width: min(100% - 2.5rem, var(--wrap-narrow)); margin-inline: auto; }

.section { padding-block: clamp(3.5rem, 9vw, var(--step-6)); }
.section--tight { padding-block: clamp(2.5rem, 6vw, var(--step-5)); }
.section--ink { background: var(--ink); }

.section__head { max-width: 62ch; margin-bottom: clamp(2rem, 4vw, 3.25rem); }
.section__head > * + * { margin-top: var(--step-2); }

.section__bar {
  display: flex;
  flex-wrap: wrap;
  gap: var(--step-2) var(--step-4);
  align-items: end;
  justify-content: space-between;
  margin-bottom: clamp(2rem, 4vw, 3.25rem);
}
.section__bar .section__head { margin-bottom: 0; }

.grid { display: grid; gap: var(--step-3); }
@media (min-width: 640px) { .grid--2 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 700px) { .grid--3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .grid--3 { grid-template-columns: repeat(3, 1fr); } }


/* --- header --- */
/* Transparent over the hero, solid past it. Driven by a sentinel and an
   observer rather than a scroll listener, so it costs nothing per frame. */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  transition: background-color 0.35s var(--ease), border-color 0.35s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.is-pinned {
  background: rgba(12, 12, 14, 0.86);
  backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
}
/* No hero: a transparent bar over body text is unreadable. */
.site-header--solid {
  background: rgba(12, 12, 14, 0.86);
  backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--step-3);
  width: 100%;
}

.brand { display: flex; align-items: center; gap: 0.6rem; flex: none; }
.brand img { width: 38px; height: 38px; border-radius: 50%; }
.brand__name {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: -0.01em;
  white-space: nowrap;
}
@media (max-width: 380px) { .brand__name { display: none; } }

.nav { display: flex; align-items: center; gap: var(--step-3); }
.nav__list { display: flex; align-items: center; gap: 1.5rem; }

.nav__link {
  font-size: 0.875rem;
  color: var(--text-soft);
  position: relative;
  padding-block: 0.35rem;
  transition: color 0.25s var(--ease);
}
.nav__link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}
.nav__link:hover { color: var(--text); }
.nav__link:hover::after, .nav__link.is-current::after { transform: scaleX(1); }
.nav__link.is-current { color: var(--text); }

.nav-toggle {
  display: grid;
  gap: 5px;
  padding: 12px 8px;
  margin-right: -8px;
}
.nav-toggle__bar {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--text);
  transition: transform 0.3s var(--ease), opacity 0.2s var(--ease);
}
.nav-toggle[aria-expanded='true'] .nav-toggle__bar:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle[aria-expanded='true'] .nav-toggle__bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded='true'] .nav-toggle__bar:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* A full sheet. A cramped dropdown is what makes a phone menu feel bolted on. */
@media (max-width: 899px) {
  .nav {
    position: fixed;
    inset: var(--header-h) 0 auto;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: var(--step-2) 1.25rem var(--step-4);
    background: rgba(8, 8, 10, 0.98);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--line);
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.28s var(--ease), transform 0.28s var(--ease), visibility 0.28s;
  }
  .nav.is-open { opacity: 1; transform: none; visibility: visible; }
  .nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__link {
    display: block;
    /* A thumb is not a mouse pointer. */
    padding-block: 1.05rem;
    font-size: 1.05rem;
    color: var(--text);
    border-bottom: 1px solid var(--line);
  }
  .nav__link::after { display: none; }
  .nav__link.is-current { color: var(--gold); }
  .nav__cta { margin-top: var(--step-3); text-align: center; }
}

@media (min-width: 900px) {
  .nav-toggle { display: none; }
}

/* --- buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 48px;
  padding: 0.8rem 1.6rem;
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  border: 1px solid transparent;
  transition: background-color 0.25s var(--ease), border-color 0.25s var(--ease),
    color 0.25s var(--ease), transform 0.25s var(--ease);
}
.btn:active { transform: translateY(1px); }

.btn--primary { background: var(--gold); color: #14140c; }
.btn--primary:hover { background: var(--gold-bright); }

.btn--ghost { border-color: var(--line-strong); color: var(--text); }
.btn--ghost:hover { border-color: var(--text); background: rgba(255, 255, 255, 0.04); }

.btn--wa { background: #25d366; color: #06301a; }
.btn--wa:hover { background: #34e57a; }

.btn--block { width: 100%; }

.btn-row { display: flex; flex-wrap: wrap; gap: 0.75rem; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--gold);
  white-space: nowrap;
}
.link-arrow::after {
  content: '→';
  transition: transform 0.25s var(--ease);
}
.link-arrow:hover::after { transform: translateX(4px); }

/* --- hero --- */
.hero {
  position: relative;
  min-height: min(88vh, 780px);
  display: flex;
  align-items: end;
  padding-top: calc(var(--header-h) + var(--step-4));
  padding-bottom: clamp(2.5rem, 6vw, var(--step-5));
  background: var(--ink);
  overflow: hidden;
}

.hero__media { position: absolute; inset: 0; z-index: 0; }
.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Settles rather than moves: a scale that ends, not a parallax that does not. */
  animation: hero-settle 1.4s var(--ease) both;
}
@keyframes hero-settle {
  from { transform: scale(1.06); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

/* Bottom for text contrast, top to keep the header legible. */
.hero__media::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(8, 8, 10, 0.95) 0%, rgba(8, 8, 10, 0.55) 42%, rgba(8, 8, 10, 0.15) 70%),
    linear-gradient(to bottom, rgba(8, 8, 10, 0.7), transparent 22%);
}

.hero__inner { position: relative; z-index: 1; max-width: 60ch; }
.hero__inner > * + * { margin-top: var(--step-3); }
.hero h1 { margin-top: var(--step-2); }
.hero .btn-row { margin-top: var(--step-4); }

/* No photograph: the drawing takes the space rather than the type stretching. */
.hero--drawn {
  align-items: center;
  min-height: min(84vh, 720px);
  background:
    radial-gradient(120% 90% at 12% 0%, rgba(212, 175, 55, 0.09), transparent 62%),
    var(--ink);
}

.hero__layout { position: relative; z-index: 1; display: grid; gap: var(--step-4); align-items: center; }
.hero:not(.hero--drawn) .hero__layout { display: block; }

@media (min-width: 900px) {
  .hero--drawn .hero__layout { grid-template-columns: 0.9fr 1.1fr; gap: clamp(2rem, 4vw, 4rem); }
}

/* --- hero drawing --- */
/* Graph paper: the surface the drawing sits on, not a pattern. Masked so it
   has no hard edge. */
.hero__drawing {
  position: relative;
  color: var(--gold);
  opacity: 0.85;
}
.hero__drawing::before {
  content: '';
  position: absolute;
  inset: -8% -6%;
  background-image:
    linear-gradient(rgba(212, 175, 55, 0.075) 1px, transparent 1px),
    linear-gradient(90deg, rgba(212, 175, 55, 0.075) 1px, transparent 1px);
  background-size: 34px 34px;
  -webkit-mask-image: radial-gradient(70% 62% at 50% 50%, #000 40%, transparent 100%);
  mask-image: radial-gradient(70% 62% at 50% 50%, #000 40%, transparent 100%);
  pointer-events: none;
}
.drawing { position: relative; }
.drawing { width: 100%; height: auto; overflow: visible; }

/* On a phone the dimension gutters are unreadable, so they go. */
@media (max-width: 899px) {
  .hero__drawing { margin-inline: -0.5rem; opacity: 0.6; }
  .drawing__dims, .drawing__labels { display: none; }
}

.drawing__hatch { opacity: 0.3; }
/* Ground-coloured fill: what is in front occludes what is behind. Invisible
   against the background, and why the counter no longer runs through a chair. */
.drawing__solid path { fill: var(--ink); }
.drawing__solid .drawing__hatch { fill: none; }
.drawing__dims { opacity: 0.65; }

.drawing__labels text {
  font-family: var(--font-body);
  font-size: 10px;
  letter-spacing: 0.1em;
  opacity: 0.7;
}
.drawing__title { font-size: 9px; letter-spacing: 0.22em; opacity: 0.55; }

/* Drawn in the order a draughtsman would: shell, fixtures, chairs, dimensions. */
.drawing path[pathLength] {
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  animation: draw 1.1s var(--ease) forwards;
  animation-delay: var(--d, 0ms);
}

@keyframes draw { to { stroke-dashoffset: 0; } }

.drawing__labels text {
  animation: fade-in 0.7s var(--ease) 1.1s both;
}
@keyframes fade-in { from { opacity: 0; } }

@media (prefers-reduced-motion: reduce) {
  /* Fully drawn, immediately: a drawing that never finishes is worse. */
  .drawing path[pathLength] { stroke-dashoffset: 0; animation: none; }
  .drawing__labels text { animation: none; }
}

.hero__scroll {
  position: absolute;
  right: 0;
  bottom: clamp(2.5rem, 6vw, var(--step-5));
  z-index: 1;
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
  writing-mode: vertical-rl;
}
@media (max-width: 899px) { .hero__scroll { display: none; } }

/* Sentinel the header watches. Zero height, no layout effect. */
.hero-sentinel { position: absolute; top: 60vh; height: 1px; width: 100%; }

/* --- page header (non-home) ----------------------------------------------- */
.page-head {
  padding-top: calc(var(--header-h) + clamp(2.5rem, 6vw, var(--step-5)));
  padding-bottom: clamp(2rem, 4vw, var(--step-4));
  background: var(--ink);
  border-bottom: 1px solid var(--line);
}
.page-head__inner { max-width: 66ch; }
.page-head__inner > * + * { margin-top: var(--step-2); }

/* --- framed sections --- */
/* Shared by every section that can carry a photograph. The gradient is not here:
   each section puts its text somewhere different, so each tunes its own. */
.framed { position: relative; overflow: hidden; }
.framed > .wrap, .framed > .wrap--narrow { position: relative; z-index: 1; }
.framed__media { position: absolute; inset: 0; z-index: 0; }
.framed__media img { width: 100%; height: 100%; object-fit: cover; }
.framed__media::after { content: ''; position: absolute; inset: 0; }

/* Four columns of text across the full width, so the cover runs the full width
   too — there is no quiet corner to leave bright. */
.process-section.framed .framed__media::after {
  background: linear-gradient(to bottom, rgba(8, 8, 10, 0.86) 0%, rgba(8, 8, 10, 0.93) 100%);
}

/* Centred text on a narrow column: darkest in the middle, easing out to the
   edges, which is the opposite of the manifesto and right for this one. */
.cta-section.framed .framed__media::after {
  background: radial-gradient(78% 92% at 50% 50%, rgba(8, 8, 10, 0.95) 28%, rgba(8, 8, 10, 0.72) 100%);
}

/* --- manifesto --- */
.manifesto { position: relative; padding-block: clamp(3.5rem, 9vw, var(--step-6)); overflow: hidden; }
.manifesto__inner { position: relative; z-index: 1; }
.manifesto .eyebrow { margin-bottom: var(--step-3); }

.manifesto__text {
  font-family: var(--font-heading);
  font-size: clamp(1.4rem, 3vw, 2.15rem);
  line-height: 1.35;
  letter-spacing: -0.02em;
  color: var(--text);
  text-wrap: balance;
  max-width: 22ch;
}
@media (min-width: 900px) { .manifesto__text { max-width: 30ch; } }

/* With a photograph the block becomes a band. The overlay is heavy and angled
   away from the text rather than a flat wash: a picture you can half-see behind
   a sentence costs the sentence and gives the picture nothing. */
.manifesto--framed { padding-block: clamp(4.5rem, 11vw, 8rem); }
.manifesto.framed .framed__media::after {
  background:
    /* Heavy where the sentence sits, light where it does not: the photograph is
       meant to be seen on the right, not guessed at through a flat wash. */
    linear-gradient(100deg, rgba(8, 8, 10, 0.93) 0%, rgba(8, 8, 10, 0.8) 42%, rgba(8, 8, 10, 0.26) 100%),
    /* The claims run the full width along the bottom and their labels are the
       quietest text on the page, so they get their own cover. */
    linear-gradient(to top, rgba(8, 8, 10, 0.93) 0%, rgba(8, 8, 10, 0.55) 28%, transparent 52%);
}

/* The claims. A hairline above each one and a gold rule on the first: three
   plain text pairs in a row read as a caption, which is what made the section
   look flat. */
/* The angled overlay is calibrated for a wide box; on a phone its light end
   reaches into the sentence. Below 900px the cover goes vertical instead, so
   the text always sits on a dark field and the photograph keeps the top. */
@media (max-width: 899px) {
  .manifesto.framed .framed__media::after {
    background: linear-gradient(to bottom, rgba(8, 8, 10, 0.55) 0%, rgba(8, 8, 10, 0.88) 30%, rgba(8, 8, 10, 0.95) 100%);
  }
}

.claims {
  display: grid;
  gap: var(--step-3);
  margin-top: clamp(2.5rem, 5vw, var(--step-5));
}
@media (min-width: 700px) { .claims { grid-template-columns: repeat(3, 1fr); gap: var(--step-4); } }

.claim { padding-top: var(--step-3); border-top: 1px solid var(--line-strong); }
.claim:first-child { border-top-color: var(--gold); }

.claim__value {
  font-family: var(--font-heading);
  font-size: clamp(1.25rem, 2.4vw, 1.75rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.15;
}
.claim__label {
  margin-top: 0.5rem;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}


/* --- feature grid (asymmetric) --- */
/* One tall panel beside stacked wide ones — the section that stops the page
   reading as the same three-up grid three times. */
.feature-grid { display: grid; gap: var(--step-3); }
@media (min-width: 900px) {
  .feature-grid { grid-template-columns: 1.05fr 1fr; }
  .feature-grid__lead { grid-row: span 2; }
  .feature-grid__rest { display: grid; gap: var(--step-3); align-content: stretch; }
}

.panel {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: end;
  min-height: 260px;
  padding: var(--step-3);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.35s var(--ease);
}
.panel:hover { border-color: var(--line-strong); }
.feature-grid__lead .panel { min-height: 420px; }

.panel__media { position: absolute; inset: 0; z-index: 0; }
.panel__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease); }
.panel:hover .panel__media img { transform: scale(1.05); }
.panel__media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(8, 8, 10, 0.94) 10%, rgba(8, 8, 10, 0.4) 55%, rgba(8, 8, 10, 0.1));
}
.panel__body { position: relative; z-index: 1; }
.panel__body > * + * { margin-top: 0.6rem; }
.panel__text { color: var(--text-soft); font-size: 0.94rem; }

.stretch::after { content: ''; position: absolute; inset: 0; z-index: 2; }

/* --- band (full-bleed image with a line of text) -------------------------- */
.band {
  position: relative;
  min-height: min(62vh, 560px);
  display: flex;
  align-items: center;
  background: var(--ink);
  overflow: hidden;
}
.band.framed .framed__media::after {
  background: linear-gradient(105deg, rgba(8, 8, 10, 0.92) 0%, rgba(8, 8, 10, 0.6) 45%, rgba(8, 8, 10, 0.25) 100%);
}
.band__inner { position: relative; z-index: 1; max-width: 44ch; }
.band__inner > * + * { margin-top: var(--step-3); }

/* --- process --- */
/* Numbered and ruled: the flattest section on the page, on purpose. */
.process { display: grid; gap: 0; }
@media (min-width: 800px) { .process { grid-template-columns: repeat(4, 1fr); } }

.process__step {
  padding: var(--step-3) 0;
  border-top: 1px solid var(--line);
}
@media (min-width: 800px) {
  .process__step { padding: var(--step-3) var(--step-3) var(--step-4) 0; }
}
.process__num {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--gold);
}
.process__step h3 { margin-top: 0.85rem; }
.process__step p { margin-top: 0.6rem; color: var(--text-soft); font-size: 0.94rem; }

/* --- cards --- */
.card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.35s var(--ease), transform 0.35s var(--ease);
}
.card:hover { border-color: var(--line-strong); transform: translateY(-3px); }

.card__media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--surface-2);
}
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease); }
.card:hover .card__media img { transform: scale(1.05); }

/* No image yet. Content is entered last, so this is what most of the site looks
   like for a while: a grey rectangle reads broken, a ruled panel reads
   deliberate. */
.card__media--empty,
.panel__media--empty {
  display: grid;
  place-items: center;
  background:
    repeating-linear-gradient(-45deg, transparent 0 7px, rgba(255, 255, 255, 0.018) 7px 14px),
    var(--surface-2);
}
.card__media--empty::after,
.panel__media--empty::after {
  content: '';
  width: 34px;
  height: 34px;
  border: 1px solid var(--line-strong);
  transform: rotate(45deg);
  background: none;
  position: static;
  inset: auto;
}

.card__body { padding: var(--step-3); display: flex; flex-direction: column; gap: 0.55rem; flex: 1; }
.card__meta {
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.card__title { font-size: 1.08rem; }
.card__text { color: var(--text-soft); font-size: 0.92rem; }

/* First product spans two columns; an even grid reads as a spreadsheet. */
@media (min-width: 1000px) {
  .grid--feature > .card:first-child { grid-column: span 2; }
  .grid--feature > .card:first-child .card__media { aspect-ratio: 16 / 9; }
}

/* --- editorial (project / post) cards --- */
.entry { position: relative; display: grid; gap: var(--step-2); }
.entry__media {
  position: relative;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--surface-2);
}
.entry__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease); }
.entry:hover .entry__media img { transform: scale(1.04); }
.entry__meta {
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.entry__title { font-size: clamp(1.15rem, 2vw, 1.5rem); }
.entry__text { color: var(--text-soft); font-size: 0.94rem; }


/* A full-width photograph on a detail page. */
.media-block { border-radius: var(--radius); overflow: hidden; background: var(--surface-2); }
.media-block img { width: 100%; height: auto; }

/* --- CTA ------------------------------------------------------------------ */
.cta {
  text-align: center;
  padding: clamp(2.5rem, 6vw, var(--step-6)) var(--step-3);
  background:
    radial-gradient(90% 120% at 50% 0%, rgba(212, 175, 55, 0.12), transparent 65%),
    var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.cta > * + * { margin-top: var(--step-3); }
.cta .lede { margin-inline: auto; }
.cta .btn-row { justify-content: center; }

/* --- breadcrumbs, filters, pager --- */
.crumbs { font-size: 0.8rem; color: var(--text-muted); display: flex; flex-wrap: wrap; gap: 0.5rem; }
.crumbs a:hover { color: var(--text); }
.crumbs span[aria-hidden] { opacity: 0.5; }

.filters { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: var(--step-4); }
.filters__item {
  padding: 0.5rem 1rem;
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.82rem;
  color: var(--text-soft);
  transition: border-color 0.25s var(--ease), color 0.25s var(--ease), background-color 0.25s var(--ease);
}
.filters__item:hover { color: var(--text); border-color: var(--line-strong); }
.filters__item.is-current { background: var(--gold); border-color: var(--gold); color: #14140c; font-weight: 600; }

.pager { display: flex; gap: 0.5rem; justify-content: center; align-items: center; margin-top: var(--step-4); }
.pager__link, .pager__current {
  min-width: 44px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding-inline: 0.75rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-size: 0.875rem;
}
.pager__link:hover { border-color: var(--text); }
.pager__current { background: var(--surface-2); border-color: var(--line-strong); font-weight: 600; }

/* --- product detail --- */
.product { display: grid; gap: var(--step-4); }
@media (min-width: 900px) {
  .product { grid-template-columns: 1.1fr 0.9fr; gap: clamp(2.5rem, 5vw, 4.5rem); align-items: start; }
  .product__info { position: sticky; top: calc(var(--header-h) + var(--step-3)); }
}
.product__hero {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface-2);
  aspect-ratio: 4 / 3;
}
.product__hero img { width: 100%; height: 100%; object-fit: cover; }
.product__thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.6rem; margin-top: 0.6rem; }
.product__thumbs img { border-radius: var(--radius); aspect-ratio: 1; object-fit: cover; }
.product__info > * + * { margin-top: var(--step-3); }
.product__actions { display: grid; gap: 0.75rem; }
@media (min-width: 520px) { .product__actions { grid-template-columns: 1fr 1fr; } }

.specs { font-size: 0.92rem; }
.specs__row { display: grid; grid-template-columns: 40% 1fr; gap: var(--step-2); padding: 0.75rem 0; border-bottom: 1px solid var(--line); }
.specs__row dt { color: var(--text-muted); }

/* --- prose --- */
.prose { max-width: 68ch; }
.prose > * + * { margin-top: var(--step-2); }
.prose h2 { font-size: clamp(1.5rem, 2.8vw, 2rem); margin-top: var(--step-4); }
.prose h3 { margin-top: var(--step-3); }
.prose p, .prose li { color: var(--text-soft); }
.prose ul, .prose ol { padding-left: 1.25rem; }
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose li + li { margin-top: 0.4rem; }
.prose a { color: var(--gold); text-decoration: underline; text-underline-offset: 3px; }
.prose img { border-radius: var(--radius); margin-block: var(--step-3); }
.prose blockquote {
  border-left: 2px solid var(--gold);
  padding-left: var(--step-2);
  font-family: var(--font-heading);
  font-size: 1.2rem;
  line-height: 1.5;
  color: var(--text);
}
.prose code {
  background: var(--surface-2);
  padding: 0.15em 0.4em;
  border-radius: 3px;
  font-size: 0.9em;
}

/* --- forms --- */
.field { display: grid; gap: 0.4rem; margin-bottom: var(--step-2); }
.field__label { font-size: 0.8rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-muted); }
.field__input {
  width: 100%;
  min-height: 48px;
  padding: 0.75rem 0.9rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--text);
  font: inherit;
  transition: border-color 0.25s var(--ease);
}
.field__input:focus { border-color: var(--gold); }
textarea.field__input { min-height: 130px; resize: vertical; }

.notice {
  padding: var(--step-2);
  border: 1px solid var(--line);
  border-left: 2px solid var(--gold);
  border-radius: var(--radius);
  background: var(--surface);
  margin-bottom: var(--step-3);
}
.notice--error { border-left-color: #ff7b7b; }

.contact { display: grid; gap: var(--step-4); }
@media (min-width: 900px) { .contact { grid-template-columns: 1.25fr 0.75fr; align-items: start; } }
.contact__aside > * + * { margin-top: var(--step-3); }
.contact__list { display: grid; gap: 0.75rem; font-size: 0.94rem; color: var(--text-soft); }
.contact__list a:hover { color: var(--text); }

.search-form { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: var(--step-3); }
.search-form .field__input { flex: 1 1 16rem; }

/* --- empty state --- */
.empty {
  padding: clamp(2.5rem, 6vw, var(--step-5)) var(--step-3);
  text-align: center;
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius);
  color: var(--text-soft);
}
.empty > * + * { margin-top: var(--step-2); }

/* --- footer --- */
.site-footer { background: var(--ink); border-top: 1px solid var(--line); padding-top: clamp(3rem, 6vw, var(--step-5)); }
.site-footer__grid { display: grid; gap: var(--step-4); }
@media (min-width: 760px) { .site-footer__grid { grid-template-columns: 1.6fr 1fr 1fr; gap: var(--step-4); } }

.site-footer__about { color: var(--text-soft); font-size: 0.92rem; margin-top: var(--step-2); max-width: 42ch; }
.label {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: var(--step-2);
}
.site-footer__list { display: grid; gap: 0.7rem; font-size: 0.92rem; color: var(--text-soft); }
.site-footer__list a:hover { color: var(--gold); }

.site-footer__legal {
  margin-top: clamp(2.5rem, 5vw, var(--step-5));
  padding-block: var(--step-3);
  border-top: 1px solid var(--line);
  font-size: 0.82rem;
  color: var(--text-muted);
  display: flex;
  flex-wrap: wrap;
  gap: var(--step-2);
  justify-content: space-between;
}

/* --- floating whatsapp --- */
/* Fixed, so it survives both scrolling and navigation. Sits above everything
   except the mobile menu sheet, which covers the screen and must win. */
.wa {
  position: fixed;
  right: clamp(1rem, 3vw, 1.75rem);
  bottom: clamp(1rem, 3vw, 1.75rem);
  /* Clears the iPhone home indicator, which otherwise sits under the button. */
  padding-bottom: env(safe-area-inset-bottom, 0);
  z-index: 90;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.wa__button {
  display: grid;
  place-items: center;
  /* 56px: a comfortable thumb target, and the size a floating action button is
     expected to be. */
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25d366;
  color: #06301a;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
  transition: transform 0.25s var(--ease), background-color 0.25s var(--ease);
}
.wa__button:hover { background: #34e57a; transform: translateY(-2px); }
.wa__button:active { transform: translateY(0); }

.wa__nudge {
  max-width: 12rem;
  padding: 0.6rem 0.85rem;
  border-radius: var(--radius);
  background: var(--surface-2);
  border: 1px solid var(--line-strong);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
  font-size: 0.85rem;
  line-height: 1.35;
  color: var(--text);
  opacity: 0;
  transform: translateX(8px);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
}
.wa__nudge.is-shown { opacity: 1; transform: none; }

/* The sheet covers the page; a button floating over it reads as a bug. */
.nav.is-open ~ .wa,
body:has(.nav.is-open) .wa { opacity: 0; pointer-events: none; }

/* --- utility --- */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.text-soft { color: var(--text-soft); }
