/* Sinteks — contemporary corporate retail. White ground, large photography, one refined grotesk,
   restrained neutrals. Tokens first; everything below reads them. */

/* ---------- Self-hosted face ---------- */

@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 200 800; font-display: swap; src: url('fonts/manrope-cyrillic-ext.woff2') format('woff2'); unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F; }
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 200 800; font-display: swap; src: url('fonts/manrope-cyrillic.woff2') format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 200 800; font-display: swap; src: url('fonts/manrope-latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 200 800; font-display: swap; src: url('fonts/manrope-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* ---------- Tokens ---------- */

:root {
  --bg: #ffffff;
  --bg-2: #f5f4f1;
  --ink: #111111;
  --ink-2: #5c5c5c;
  --ink-3: #6f6f6f;
  --line: #e4e2dd;
  --line-2: #cfccc5;
  --invalid: #b42318;

  --font: "Manrope", "Helvetica Neue", Arial, sans-serif;
  --measure: 62ch;
  --gutter: clamp(1.25rem, 4vw, 3.5rem);
  --section: clamp(4rem, 9vw, 8rem);
  --radius: 6px;
  --radius-lg: 12px;
  --header-h: 4.5rem;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ---------- Reset & browser surfaces ---------- */

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  caret-color: var(--ink);
}
::selection { background: var(--ink); color: #fff; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: 0.2em; text-decoration-thickness: 1px; }
p { margin: 0 0 1em; max-width: var(--measure); }
h1, h2, h3 { margin: 0; font-weight: 700; line-height: 1.08; letter-spacing: -0.025em; text-wrap: balance; }
address { font-style: normal; }
fieldset { margin: 0; padding: 0; border: 0; min-width: 0; }
legend { padding: 0; }
button, input, select, textarea { font: inherit; color: inherit; }

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

.visually-hidden {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: var(--gutter); top: -100%;
  padding: 0.6rem 1rem; z-index: 100; border-radius: var(--radius);
  background: var(--ink); color: #fff; font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: 0.75rem; }

/* ---------- Layout ---------- */

.wrap { width: min(100% - 2 * var(--gutter), 80rem); margin-inline: auto; }
.section { padding-block: var(--section); }
.section.tint { background: var(--bg-2); }
.section-head { margin-bottom: clamp(2rem, 4vw, 3.5rem); }
.section-title { font-size: clamp(1.9rem, 3.4vw, 3rem); }
.section-lede { font-size: 1.15rem; color: var(--ink-2); margin-top: 1rem; }
.two-col { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2rem, 6vw, 6rem); align-items: start; }

/* ---------- Type ---------- */

.display { font-size: clamp(2.6rem, 5.6vw, 5rem); line-height: 1.02; letter-spacing: -0.035em; font-weight: 700; }
.lede { font-size: clamp(1.1rem, 1.5vw, 1.3rem); line-height: 1.5; color: var(--ink-2); }
.label { font-size: 0.85rem; font-weight: 600; color: var(--ink-2); letter-spacing: 0.01em; }

/* ---------- Header ---------- */

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(160%) blur(10px);
  -webkit-backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner { min-height: var(--header-h); display: flex; align-items: center; gap: clamp(1.25rem, 3vw, 3rem); }
.logo { display: inline-flex; align-items: center; text-decoration: none; color: var(--ink); }
.logo img { height: 1.2rem; width: auto; }
.footer-brand .logo img { height: 1.1rem; }

.site-nav { display: flex; gap: clamp(1.25rem, 2.5vw, 2.25rem); margin-left: auto; }
.site-nav a {
  position: relative; text-decoration: none; font-weight: 500; font-size: 0.95rem; color: var(--ink-2); padding-block: 0.35rem;
  transition: color 0.2s var(--ease);
}
.site-nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1.5px; background: var(--ink);
  transform: scaleX(0); transform-origin: left; transition: transform 0.35s var(--ease);
}
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--ink); }
.site-nav a:hover::after, .site-nav a[aria-current="page"]::after { transform: scaleX(1); }

.lang-select { position: relative; }
.lang-select select {
  appearance: none; -webkit-appearance: none;
  padding: 0.45rem 1.9rem 0.45rem 0.75rem; border: 1px solid var(--line-2); border-radius: var(--radius);
  background: #fff; color: var(--ink); font-size: 0.88rem; font-weight: 500; cursor: pointer;
  transition: border-color 0.2s var(--ease), background-color 0.2s var(--ease);
}
.lang-select select:hover { border-color: var(--ink-3); background: var(--bg-2); }
.lang-select select:focus-visible { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(17, 17, 17, 0.08); }
.lang-select svg { position: absolute; right: 0.7rem; top: 50%; width: 10px; height: 7px; transform: translateY(-50%); stroke: var(--ink); stroke-width: 1.75; fill: none; pointer-events: none; }

.menu-toggle {
  display: none; align-items: center; gap: 0.5rem;
  background: none; border: 1px solid var(--line-2); border-radius: var(--radius); color: var(--ink);
  padding: 0.5rem 0.75rem; cursor: pointer; font-weight: 600; font-size: 0.85rem;
}
.menu-icon { display: inline-grid; gap: 4px; }
.menu-icon i { display: block; width: 16px; height: 1.5px; background: var(--ink); }
.menu-toggle[aria-expanded="true"] .menu-icon i:nth-child(2) { opacity: 0; }

/* ---------- Buttons ---------- */

.actions { display: flex; flex-wrap: wrap; gap: 0.75rem 1.5rem; align-items: center; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  min-height: 3.25rem; padding: 0.85rem 1.5rem; border-radius: var(--radius);
  font-weight: 600; font-size: 0.98rem; text-decoration: none; cursor: pointer;
  background: var(--ink); color: #fff; border: 1px solid var(--ink);
  transition: background-color 0.2s var(--ease), border-color 0.2s var(--ease), transform 0.3s var(--ease);
}
.btn:hover { background: #2a2a2a; border-color: #2a2a2a; }
.btn:active { transform: translateY(1px); }
.btn-secondary { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn-secondary:hover { background: var(--bg-2); border-color: var(--line-2); }
.link-arrow { display: inline-flex; align-items: center; gap: 0.4rem; font-weight: 600; text-decoration: none; color: var(--ink); }
.link-arrow svg { width: 16px; height: 16px; stroke: currentColor; stroke-width: 1.75; fill: none; transition: transform 0.3s var(--ease); }
.link-arrow:hover svg { transform: translateX(3px); }
.link-arrow:hover { text-decoration: underline; }

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

.hero { padding-block: clamp(3.5rem, 8vw, 7rem) clamp(3rem, 6vw, 5rem); }
.hero h1 { max-width: 18ch; }
.hero .lede { max-width: 52ch; margin: 1.75rem 0 2.25rem; }
/* Column ratios follow each photograph's own aspect so the frames crop lightly. */
.hero-row { display: grid; grid-template-columns: 1fr 0.85fr 1.15fr 1fr; gap: 0.75rem; }
.hero-row .photo { height: clamp(15rem, 24vw, 22rem); }

/* ---------- Figures ---------- */

.figures { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem; }
.figure { border-top: 1px solid var(--ink); padding-top: 1.25rem; }
.figure dd { margin: 0; font-size: clamp(3rem, 6vw, 5.5rem); font-weight: 700; line-height: 1; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
.figure dd .plus { font-size: 0.5em; vertical-align: 0.6em; margin-left: 0.05em; font-weight: 600; }
.figure dt { margin-top: 0.75rem; font-size: 1rem; color: var(--ink-2); }

/* ---------- Media ---------- */

.photo { overflow: hidden; border-radius: var(--radius-lg); background: var(--bg-2); }
.photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ease); }
.photo:hover img { transform: scale(1.03); }
.mosaic { display: grid; grid-template-columns: 1.4fr 1fr; grid-auto-rows: minmax(0, 1fr); gap: 0.75rem; }
.mosaic .photo { aspect-ratio: 1 / 1; }
.mosaic .photo:first-child { grid-row: span 2; aspect-ratio: auto; }

/* ---------- About ---------- */

.about-copy p { color: var(--ink-2); font-size: 1.1rem; }
.about-copy p:first-of-type { color: var(--ink); font-size: 1.2rem; }
.about-photo-wrap { margin-top: clamp(2.5rem, 5vw, 4.5rem); }
.about-photo { aspect-ratio: 1253 / 462; }

/* ---------- Portfolio ---------- */

.tiers { list-style: none; margin: 2rem 0 0; padding: 0; border-top: 1px solid var(--line); }
.tiers li { padding: 1.1rem 0; border-bottom: 1px solid var(--line); font-size: 1.15rem; font-weight: 600; }
.tiers .sub { display: block; font-size: 0.95rem; font-weight: 500; color: var(--ink-2); margin-top: 0.15rem; }
.categories { list-style: none; margin: 2rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.6rem 1.5rem; color: var(--ink-2); font-size: 0.98rem; }

/* ---------- Gallery ---------- */


/* ---------- Contact ---------- */

.office dl { margin: 2rem 0 0; display: grid; gap: 1.25rem; }
.office dt { font-size: 0.85rem; font-weight: 600; color: var(--ink-2); margin-bottom: 0.2rem; }
.office dd { margin: 0; font-size: 1.15rem; font-weight: 500; }
.office dd a { text-decoration: none; }
.office dd a:hover { text-decoration: underline; }
.office .link-arrow { margin-top: 1.75rem; }
.doors { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.door {
  display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 1.5rem;
  padding: 1.5rem 0.75rem; margin-inline: -0.75rem; border-radius: var(--radius);
  border-bottom: 1px solid var(--line); text-decoration: none;
  transition: background-color 0.25s var(--ease);
}
.door > span:first-child { display: block; transition: transform 0.3s var(--ease); }
.door:hover { background: var(--bg-2); }
.door:hover > span:first-child { transform: translateX(4px); }
.door-title { display: block; font-size: 1.2rem; font-weight: 600; }
.door-sub { display: block; font-size: 0.95rem; color: var(--ink-2); margin-top: 0.15rem; }
.door svg { width: 22px; height: 22px; stroke: var(--ink); stroke-width: 1.5; fill: none; transition: transform 0.3s var(--ease); }
.door:hover svg { transform: translateX(4px); }

/* ---------- Footer ---------- */

.site-footer { border-top: 1px solid var(--line); padding-block: 3rem 2.5rem; font-size: 0.92rem; color: var(--ink-2); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2rem; }
.footer-grid h3 { font-size: 0.85rem; font-weight: 600; color: var(--ink); margin-bottom: 0.9rem; letter-spacing: 0; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.5rem; }
.footer-grid a { text-decoration: none; }
.footer-grid a:hover { text-decoration: underline; color: var(--ink); }
.footer-brand .logo { margin-bottom: 0.75rem; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.5rem 2rem; margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--line); font-size: 0.85rem; color: var(--ink-3); }
.footer-bottom p { margin: 0; }

/* ---------- Support page ---------- */

.support-hero { padding-block: clamp(3.5rem, 8vw, 6rem) clamp(2rem, 4vw, 3rem); }
.support-hero h1 { max-width: 16ch; font-size: clamp(2.2rem, 4.6vw, 4rem); }
.support-hero .lede { margin-top: 1.5rem; max-width: 56ch; }
.support-body { padding-block: 0 var(--section); }
.support-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.channels h2, .form-col h2 { font-size: 1.35rem; margin-bottom: 1.25rem; }
.channel { padding: 1.25rem 0; border-top: 1px solid var(--line); }
.channel h3 { font-size: 0.85rem; font-weight: 600; color: var(--ink-2); letter-spacing: 0; margin-bottom: 0.35rem; }
.channel-link { display: inline-block; font-size: 1.35rem; font-weight: 600; letter-spacing: -0.01em; text-decoration: none; margin-bottom: 0.35rem; word-break: break-word; }
.channel-link:hover { text-decoration: underline; }
.channel p { margin: 0; color: var(--ink-2); font-size: 0.98rem; }
.channel address { font-size: 1.05rem; }
.form-col h2 { padding-bottom: 1.25rem; border-bottom: 1px solid var(--line); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field { margin-bottom: 1.25rem; }
.form-row { padding-bottom: 0.25rem; margin-bottom: 1.25rem; border-bottom: 1px solid var(--line); }
.field label { display: block; margin-bottom: 0.4rem; font-size: 0.9rem; font-weight: 600; }
.field input, .field select, .field textarea {
  width: 100%; padding: 0.8rem 0.9rem; background: #fff; border: 1px solid var(--line-2); border-radius: var(--radius);
  -webkit-appearance: none; appearance: none; transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--ink-3); }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(17, 17, 17, 0.08); }
.field input:user-invalid, .field textarea:user-invalid { border-color: var(--invalid); }
.field textarea { resize: vertical; min-height: 8rem; }
.select-wrap { position: relative; }
.select-wrap select { padding-right: 2.5rem; }
.select-wrap svg { position: absolute; right: 0.9rem; top: 50%; width: 12px; height: 8px; transform: translateY(-50%); stroke: var(--ink); stroke-width: 1.75; fill: none; pointer-events: none; }
.form-col .btn { margin-top: 0.5rem; min-width: 12rem; }
.form-note { margin: 1rem 0 0; font-size: 0.85rem; color: var(--ink-2); max-width: none; }
.sent { padding: 1.25rem; border-radius: var(--radius); background: var(--bg-2); margin-bottom: 1.25rem; }
.sent h3 { font-size: 1.1rem; margin-bottom: 0.4rem; }
.sent p { color: var(--ink-2); margin-bottom: 0.75rem; }
.back-link { margin-top: 2.5rem; }

/* ---------- Motion: one authored entrance, one reveal grammar ---------- */

.js .rise { opacity: 0; transform: translateY(14px); transition: opacity 0.7s var(--ease), transform 0.9s var(--ease); }
.js .rise.in { opacity: 1; transform: none; }
.js .hero .rise:nth-child(2) { transition-delay: 0.08s; }
.js .hero .rise:nth-child(3) { transition-delay: 0.16s; }

/* ---------- Responsive ---------- */

@media (max-width: 64rem) {
  .two-col, .support-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 47.5rem) {
  :root { --header-h: 4rem; }
  .menu-toggle { display: inline-flex; }
  .site-nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; gap: 0; margin: 0;
    background: #fff; border-bottom: 1px solid var(--line);
    padding: 0.5rem var(--gutter) 0.75rem;
  }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding-block: 0.9rem; border-bottom: 1px solid var(--line); font-size: 1.05rem; color: var(--ink); }
  .site-nav a:last-child { border-bottom: 0; }
  .site-nav a::after { display: none; }
  .lang-select { margin-left: auto; }
  .hero-row { display: flex; gap: 0.6rem; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 0.25rem; scrollbar-width: none; }
  .hero-row::-webkit-scrollbar { display: none; }
  .hero-row .photo { flex: 0 0 72%; height: 20rem; scroll-snap-align: start; }
  .mosaic { gap: 0.5rem; }
  .categories { grid-template-columns: 1fr; }
  .figures { grid-template-columns: 1fr; gap: 1.5rem; }
  .footer-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .actions .btn { flex: 1 1 100%; }
  .door { grid-template-columns: 1fr auto; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .rise { opacity: 1; transform: none; transition: none; }
  .photo img, .site-nav a::after, .door, .door svg, .link-arrow svg { transition: none; }
}
