/* MYRK — folha de estilos única.
   Sistema: preto, ossos e cinzentos. Sem dourado: o único calor é o âmbar do próprio óleo.
   Letra: Hanken Grotesk (variável 300–700), alojada no site. O logótipo é SVG (Cinzel).
   CSP estrita: nada de estilos inline nas páginas. */

@font-face {
  font-family: "Hanken";
  src: url("/fonts/hanken-grotesk.woff2") format("woff2");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #0b0b0b;
  --coal: #141414;
  --graphite: #262625;
  --line-dark: #2b2b2a;
  --stone: #8b8a86;
  --ash: #b9b7b2;
  --mist: #d8d6d1;
  --bone: #e9e8e4;
  --paper: #f4f3f0;
  --white: #ffffff;
  --line-light: #cfcdc8;

  --font: "Hanken", "Helvetica Neue", Arial, sans-serif;
  --gutter: clamp(20px, 4vw, 56px);
  --max: 1440px;
  --header-h: 68px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: "kern", "liga";
}
body.modal-open { overflow: hidden; }

img { display: block; max-width: 100%; height: auto; }
picture { display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; }
::selection { background: var(--ink); color: var(--paper); }

.visually-hidden, .hp-field {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--paper); color: var(--ink); padding: 10px 16px; text-decoration: none;
}
.skip-link:focus { top: 12px; }
:focus-visible { outline: 1px solid currentColor; outline-offset: 4px; }

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

/* ---------- Tipografia ---------- */
.label {
  font-size: 11px; font-weight: 500; letter-spacing: .24em; text-transform: uppercase;
  line-height: 1.4;
}
.display {
  font-weight: 300; font-size: clamp(44px, 8.4vw, 132px); line-height: .98;
  letter-spacing: -.035em; margin: 0;
}
.h1 { font-weight: 300; font-size: clamp(38px, 6vw, 88px); line-height: 1.02; letter-spacing: -.03em; margin: 0; }
.h2 { font-weight: 300; font-size: clamp(30px, 4vw, 56px); line-height: 1.06; letter-spacing: -.025em; margin: 0; }
.h3 { font-weight: 400; font-size: clamp(20px, 2vw, 26px); line-height: 1.25; letter-spacing: -.01em; margin: 0; }
.lead { font-size: clamp(18px, 1.6vw, 22px); line-height: 1.55; font-weight: 300; max-width: 34em; }
.muted { color: var(--stone); }
.dark .muted { color: var(--stone); }

.link-line {
  display: inline-flex; align-items: center; gap: 14px; text-decoration: none;
  font-size: 11px; font-weight: 500; letter-spacing: .24em; text-transform: uppercase;
  padding-bottom: 6px; border-bottom: 1px solid currentColor;
  transition: gap .4s var(--ease);
}
.link-line:hover { gap: 22px; }
.link-line::after { content: "\2192"; letter-spacing: 0; font-size: 14px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  height: 54px; padding: 0 30px; border: 1px solid currentColor; background: transparent;
  font-size: 11px; font-weight: 500; letter-spacing: .24em; text-transform: uppercase;
  text-decoration: none; cursor: pointer; transition: background .3s, color .3s;
}
.btn--solid { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.btn--solid:hover { background: transparent; color: var(--paper); }
.light .btn--solid, .btn--ink { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.light .btn--solid:hover, .btn--ink:hover { background: transparent; color: var(--ink); }

/* ---------- Superfícies ---------- */
.dark { background: var(--ink); color: var(--paper); }
.coal { background: var(--coal); color: var(--paper); }
.light { background: var(--paper); color: var(--ink); }
.bone { background: var(--bone); color: var(--ink); }
.section { padding-top: clamp(88px, 12vw, 180px); padding-bottom: clamp(88px, 12vw, 180px); }
.section--tight { padding-top: clamp(64px, 8vw, 112px); padding-bottom: clamp(64px, 8vw, 112px); }
.rule { height: 1px; border: 0; margin: 0; background: var(--line-light); }
.dark .rule, .coal .rule { background: var(--line-dark); }

/* ---------- Cabeçalho ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50; height: var(--header-h);
  background: rgba(11, 11, 11, .92); color: var(--paper);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line-dark);
}
.site-header__bar { height: 100%; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; }
.site-nav { display: flex; gap: clamp(18px, 2.4vw, 36px); }
.site-nav a, .header-meta a {
  text-decoration: none; font-size: 11px; font-weight: 500; letter-spacing: .24em;
  text-transform: uppercase; color: var(--ash); transition: color .25s;
}
.site-nav a:hover, .site-nav a[aria-current="page"], .header-meta a:hover { color: var(--paper); }
.brand { display: block; justify-self: center; line-height: 0; }
.brand img { width: 108px; height: auto; }
.header-meta { justify-self: end; display: flex; align-items: center; gap: 26px; }
.header-meta .cta { color: var(--paper); }
.menu-toggle {
  display: none; background: none; border: 0; padding: 8px 0; cursor: pointer;
  font-size: 11px; font-weight: 500; letter-spacing: .24em; text-transform: uppercase; color: var(--paper);
}

@media (max-width: 860px) {
  .site-header__bar { grid-template-columns: auto 1fr auto; }
  .brand { justify-self: start; order: 1; }
  .brand img { width: 92px; }
  .header-meta { order: 2; }
  .header-meta .cta { display: none; }
  .menu-toggle { display: block; order: 3; margin-left: 22px; }
  .site-nav {
    position: fixed; inset: var(--header-h) 0 auto 0; height: calc(100vh - var(--header-h));
    height: calc(100dvh - var(--header-h));
    flex-direction: column; gap: 0; padding: 24px var(--gutter);
    background: var(--ink); transform: translateY(-8px); opacity: 0; visibility: hidden;
    transition: opacity .3s, transform .3s, visibility .3s;
  }
  .site-nav a {
    font-size: 28px; font-weight: 300; letter-spacing: -.01em; text-transform: none;
    color: var(--paper); padding: 18px 0; border-bottom: 1px solid var(--line-dark);
  }
  .site-header.is-open .site-nav { opacity: 1; visibility: visible; transform: none; }
}

/* ---------- Início: herói ---------- */
.hero { position: relative; overflow: hidden; }
.hero__media img { width: 100%; height: auto; }
.hero__inner {
  display: grid; grid-template-columns: 1fr; gap: 40px;
  padding: clamp(56px, 8vw, 120px) 0 clamp(40px, 5vw, 72px);
}
.hero__top { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; }
.hero__top .lead { color: var(--ash); margin: 0; }
.hero__foot {
  display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  padding: 22px 0 28px; color: var(--stone); border-top: 1px solid var(--line-dark);
}

/* ---------- Manifesto ---------- */
.manifesto { display: grid; grid-template-columns: 1fr 2fr; gap: clamp(32px, 6vw, 120px); align-items: start; }
.manifesto__word { font-weight: 300; font-size: clamp(56px, 9vw, 150px); letter-spacing: -.04em; line-height: .9; margin: 18px 0 0; }
.manifesto__logo { width: min(100%, 420px); margin-top: 28px; }
.manifesto__body p { margin: 0 0 1.2em; }
.manifesto__body .h2 { margin-bottom: 40px; }
@media (max-width: 860px) { .manifesto { grid-template-columns: 1fr; } }

/* ---------- Grelha de produtos ---------- */
.range-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: clamp(40px, 5vw, 72px); }
.range { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--line-light); border: 1px solid var(--line-light); }
.range li { background: var(--paper); }
.card { display: block; width: 100%; text-align: left; text-decoration: none; background: none; border: 0; padding: 0; cursor: pointer; }
.card__img { aspect-ratio: 1 / 1; overflow: hidden; background: var(--bone); }
.card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.card:hover .card__img img { transform: scale(1.035); }
.card__meta { display: grid; grid-template-columns: auto 1fr auto; gap: 16px; align-items: baseline; padding: 22px 24px 26px; }
.card__num { color: var(--stone); }
.card__name { font-size: 22px; font-weight: 400; letter-spacing: -.01em; }
.card__type { color: var(--stone); text-align: right; }
@media (max-width: 960px) { .range { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) {
  .range { grid-template-columns: 1fr; }
  .card__meta { grid-template-columns: auto 1fr; }
  .card__type { grid-column: 1 / -1; text-align: left; }
}

/* ---------- Bloco dividido (imagem + texto) ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; min-height: 80vh; }
.split__media { position: relative; overflow: hidden; }
.split__media picture, .split__media img { width: 100%; height: 100%; object-fit: cover; }
.split__body { display: flex; flex-direction: column; justify-content: center; padding: clamp(56px, 8vw, 140px) var(--gutter); gap: 28px; }
.split__body p { margin: 0; max-width: 30em; }
.split--rev .split__media { order: 2; }
@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; min-height: 0; }
  .split--rev .split__media { order: 0; }
  .split__media { aspect-ratio: 4 / 5; }
}

/* ---------- Ritual (passos) ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line-dark); }
.steps li { padding: 34px 32px 8px 0; border-right: 1px solid var(--line-dark); }
.steps li + li { padding-left: 32px; }
.steps li:last-child { border-right: 0; }
.steps .h3 { margin: 22px 0 12px; }
.steps p { margin: 0; color: var(--ash); }
@media (max-width: 860px) {
  .steps { grid-template-columns: 1fr; }
  .steps li, .steps li + li { padding: 28px 0; border-right: 0; border-bottom: 1px solid var(--line-dark); }
}

/* ---------- Princípios ---------- */
.principles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(28px, 4vw, 64px); }
.principles .h3 { margin: 18px 0 12px; }
.principles p { margin: 0; color: var(--graphite); }
@media (max-width: 860px) { .principles { grid-template-columns: 1fr; } }

/* ---------- Lista de espera ---------- */
.join { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(40px, 6vw, 120px); align-items: end; }
.join .h1 { margin-top: 22px; }
.capture { display: flex; border-bottom: 1px solid var(--stone); }
.capture input[type="email"] {
  flex: 1; min-width: 0; background: transparent; border: 0; color: inherit; font: inherit;
  font-size: 18px; padding: 18px 0; outline: none;
}
.capture input::placeholder { color: var(--stone); }
.capture button {
  background: none; border: 0; cursor: pointer; padding: 0 0 0 20px; color: inherit;
  font-size: 11px; font-weight: 500; letter-spacing: .24em; text-transform: uppercase; white-space: nowrap;
}
.capture button:disabled { opacity: .5; cursor: wait; }
.consent-row { display: flex; gap: 12px; align-items: flex-start; margin-top: 20px; font-size: 13px; line-height: 1.5; color: var(--ash); }
.consent-row input { margin-top: 3px; accent-color: var(--paper); flex: none; }
.consent-row a { color: var(--paper); }
.capture-note { font-size: 13px; color: var(--stone); margin: 14px 0 0; }
.confirm-msg { display: none; font-size: 20px; font-weight: 300; margin: 0; }
.confirm-msg.is-visible { display: block; }
.waitlist-error { font-size: 13px; color: #e8a0a0; margin: 14px 0 0; }
@media (max-width: 860px) { .join { grid-template-columns: 1fr; } }

/* ---------- Cabeçalho de página ---------- */
.page-head { padding-top: clamp(80px, 12vw, 180px); padding-bottom: clamp(48px, 6vw, 88px); }
.page-head .label { display: block; margin-bottom: 28px; color: var(--stone); }
.page-head .lead { margin: 32px 0 0; color: var(--ash); }
.light .page-head .lead, .page-head.light .lead { color: var(--graphite); }

/* ---------- Coleção ---------- */
.product-row { display: grid; grid-template-columns: 1.2fr 1fr; border-top: 1px solid var(--line-light); }
.product-row:nth-child(even) .product-row__media { order: 2; }
.product-row__media { background: var(--bone); aspect-ratio: 1 / 1; overflow: hidden; }
.product-row__media img { width: 100%; height: 100%; object-fit: cover; }
.product-row__body { padding: clamp(40px, 6vw, 96px) var(--gutter); display: flex; flex-direction: column; justify-content: center; gap: 26px; }
.product-row__body p { margin: 0; max-width: 28em; }
.specs { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line-light); max-width: 30em; }
.specs li { display: flex; justify-content: space-between; gap: 20px; padding: 13px 0; border-bottom: 1px solid var(--line-light); font-size: 15px; }
.specs li span:first-child { color: var(--stone); }
.soon { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.soon .label { color: var(--stone); }
.gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: var(--line-light); }
.gallery picture, .gallery img { width: 100%; height: 100%; object-fit: cover; }
.gallery > * { aspect-ratio: 4 / 5; overflow: hidden; background: var(--bone); }
@media (max-width: 860px) {
  .product-row { grid-template-columns: 1fr; }
  .product-row:nth-child(even) .product-row__media { order: 0; }
  .gallery { grid-template-columns: 1fr; }
}

/* ---------- Marca ---------- */
.statement { font-weight: 300; font-size: clamp(30px, 4.6vw, 68px); line-height: 1.12; letter-spacing: -.03em; margin: 0; max-width: 18em; }
.statement em { font-style: normal; color: var(--stone); }
.two-col { display: grid; grid-template-columns: 1fr 2fr; gap: clamp(32px, 6vw, 120px); padding: clamp(56px, 7vw, 104px) 0; border-top: 1px solid var(--line-light); }
.dark .two-col { border-color: var(--line-dark); }
.two-col p { margin: 0 0 1.2em; max-width: 36em; }
.two-col p:last-child { margin-bottom: 0; }
.mono img { filter: grayscale(1) contrast(1.08); }
.full-bleed img { width: 100%; height: auto; }
@media (max-width: 860px) { .two-col { grid-template-columns: 1fr; } }

/* ---------- Journal ---------- */
.posts { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line-light); }
.posts li { border-bottom: 1px solid var(--line-light); }
.post-link { display: grid; grid-template-columns: 180px 1fr auto; gap: 32px; padding: 36px 0; text-decoration: none; align-items: baseline; }
.post-link .h3 { transition: opacity .3s; }
.post-link:hover .h3 { opacity: .55; }
.post-link p { margin: 10px 0 0; color: var(--stone); max-width: 40em; }
.post-link .arrow { font-size: 18px; }
@media (max-width: 760px) { .post-link { grid-template-columns: 1fr; gap: 10px; } .post-link .arrow { display: none; } }

.article { max-width: 760px; margin: 0 auto; padding: 0 var(--gutter) clamp(88px, 10vw, 150px); }
.article-head { max-width: 960px; margin: 0 auto; padding: clamp(72px, 10vw, 150px) var(--gutter) clamp(40px, 5vw, 72px); }
.article-head .back { display: inline-block; margin-bottom: 40px; color: var(--stone); text-decoration: none; }
.article-head .meta { margin-top: 28px; color: var(--stone); }
.article p, .article li { font-size: 18px; line-height: 1.75; }
.article h2 { font-weight: 400; font-size: 26px; letter-spacing: -.015em; line-height: 1.25; margin: 2.2em 0 .7em; }
.article ul, .article ol { padding-left: 1.2em; }
.article strong { font-weight: 600; }
.article .pull-quote {
  font-weight: 300; font-size: clamp(24px, 3vw, 34px); line-height: 1.3; letter-spacing: -.02em;
  margin: 2em 0; padding: 0 0 0 28px; border-left: 1px solid var(--ink);
}
.article .cta-box { margin-top: 3.5em; padding: 32px 0 0; border-top: 1px solid var(--line-light); }
.article .cta-box p { margin: 0 0 18px; }
.article .article-footnote { margin-top: 2.5em; font-size: 14px; color: var(--stone); }
.article .teaser-link, .article .read-link {
  display: inline-flex; gap: 14px; text-decoration: none; font-size: 11px; font-weight: 500; letter-spacing: .24em;
  text-transform: uppercase; padding-bottom: 6px; border-bottom: 1px solid currentColor;
}
.article .teaser-link::after { content: "\2192"; letter-spacing: 0; }

/* ---------- Contacto / FAQ ---------- */
.faq { border-top: 1px solid var(--line-light); }
.faq details { border-bottom: 1px solid var(--line-light); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 24px;
  padding: 28px 0; font-size: clamp(19px, 1.8vw, 24px); font-weight: 300; letter-spacing: -.01em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-weight: 300; transition: transform .3s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .answer { padding: 0 0 30px; max-width: 42em; color: var(--graphite); }
.faq .answer p { margin: 0; }
.contact-grid { margin-top: clamp(40px, 5vw, 72px); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: var(--line-dark); border: 1px solid var(--line-dark); }
.contact-grid > div { background: var(--ink); padding: clamp(32px, 4vw, 56px); }
.contact-grid a { font-size: clamp(22px, 2.6vw, 34px); font-weight: 300; letter-spacing: -.02em; text-decoration: none; display: inline-block; margin: 18px 0 14px; }
.contact-grid a:hover { opacity: .6; }
.contact-grid p { margin: 0; color: var(--stone); font-size: 15px; }
@media (max-width: 760px) { .contact-grid { grid-template-columns: 1fr; } }

/* ---------- Páginas legais ---------- */
.legal { max-width: 820px; margin: 0 auto; padding: 0 var(--gutter) clamp(88px, 10vw, 150px); }
.legal h2 { font-weight: 400; font-size: 22px; letter-spacing: -.01em; margin: 2.4em 0 .7em; }
.legal p, .legal li { font-size: 16px; line-height: 1.75; color: var(--graphite); }
.legal mark.todo { background: var(--mist); color: var(--ink); padding: 0 4px; }

/* ---------- Modal de produto ---------- */
.modal-overlay {
  position: fixed; inset: 0; z-index: 80; background: rgba(11, 11, 11, .72);
  display: flex; align-items: center; justify-content: center; padding: 20px;
  opacity: 0; visibility: hidden; transition: opacity .35s, visibility .35s;
}
.modal-overlay.open { opacity: 1; visibility: visible; }
.modal-box {
  position: relative; width: min(1040px, 100%); max-height: calc(100vh - 40px); overflow: auto;
  display: grid; grid-template-columns: 1fr 1fr; background: var(--paper); color: var(--ink); outline: none;
}
.modal-image { background: var(--bone); aspect-ratio: 1 / 1; }
.modal-image img { width: 100%; height: 100%; object-fit: cover; }
.modal-info { padding: clamp(32px, 4vw, 56px); display: flex; flex-direction: column; gap: 22px; }
.modal-info p { margin: 0; }
.modal-close { position: absolute; top: 14px; right: 18px; background: none; border: 0; font-size: 28px; font-weight: 300; cursor: pointer; line-height: 1; }
@media (max-width: 760px) { .modal-box { grid-template-columns: 1fr; } }

/* ---------- Rodapé ---------- */
.site-footer { background: var(--ink); color: var(--ash); padding: clamp(72px, 9vw, 130px) 0 36px; }
.footer-top { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; padding-bottom: clamp(56px, 7vw, 100px); }
.footer-logo { width: min(420px, 70%); }
.footer-top ul { list-style: none; margin: 18px 0 0; padding: 0; }
.footer-top li { margin: 0 0 10px; }
.footer-top a { text-decoration: none; color: var(--paper); font-size: 15px; }
.footer-top a:hover { opacity: .6; }
.footer-top .label { color: var(--stone); }
.footer-bottom { border-top: 1px solid var(--line-dark); padding-top: 26px; display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; font-size: 12px; color: var(--stone); }
.footer-bottom a { color: var(--stone); }
@media (max-width: 760px) { .footer-top { grid-template-columns: 1fr 1fr; } .footer-top > div:first-child { grid-column: 1 / -1; } }

/* ---------- 404 ---------- */
.notfound { min-height: 70vh; display: flex; flex-direction: column; justify-content: center; gap: 28px; }

/* ---------- Revelação suave ao fazer scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1; transform: none; transition: none; } }
