/* Home page after the opening film: who we are, the factory in photos, what we do, media, closing.
   Only real photos here. Uses the colour and type tokens of style.css. */

/* who we are: sand, like a page of the catalogue */
.who {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 2.5rem clamp(2rem, 6vw, 6rem); align-items: center;
  padding: clamp(4.5rem, 13vh, 9rem) var(--pad); background: var(--sand); color: var(--ink);
}
.who-copy p { margin-top: 1.1rem; }
.who-copy .lead { margin-top: 1.6rem; }
.who-copy .actions { margin-top: 1.8rem; }
.who-photo img { width: 100%; border-radius: 2px; }

/* at the factory: one row of pictures of equal height that scrolls sideways; the row runs to the right edge of the page */
.plant { padding: 0 0 clamp(3.5rem, 9vh, 6rem); background: var(--sand); color: var(--ink); }
.plant-head { display: flex; align-items: end; justify-content: space-between; gap: 1rem; padding: 0 var(--pad); }
.plant-nav { display: flex; gap: 0.5rem; margin: 0; }
.strip-btn { width: 2.9rem; height: 2.9rem; font: inherit; font-size: 1.2rem; line-height: 1; color: inherit; background: none; border: 1px solid currentColor; border-radius: 2px; cursor: pointer; }
.strip-btn:hover { background: var(--ink); color: var(--sand); }
.strip-btn:disabled { opacity: 0.3; cursor: default; background: none; color: inherit; }
.strip { margin-top: 1.6rem; overflow-x: auto; scroll-snap-type: x proximity; scroll-padding-left: var(--pad); scrollbar-width: thin; scrollbar-color: rgba(42, 28, 24, 0.45) transparent; }
.strip:focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; }
.strip ul { display: flex; gap: 0.9rem; width: max-content; margin: 0; padding: 0 var(--pad) 1rem; list-style: none; }
.strip li { flex: none; scroll-snap-align: start; }
.strip img, .strip video { display: block; height: clamp(300px, 64vh, 660px); width: auto; border-radius: 2px; background: #171210; }

/* what we do */
.work { padding: clamp(4rem, 11vh, 8rem) var(--pad); background: linear-gradient(var(--sand), var(--shale) 14rem); color: var(--sand); }
.work h2 { padding-top: 6rem; }
.work .range { grid-template-columns: repeat(auto-fill, minmax(17rem, 1fr)); }
.work .range li { font-size: 1.35rem; padding-right: 2rem; }
/* core quality block under the range: picture of cores beside a short text */
.core-why { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; margin-top: clamp(3.5rem, 9vh, 6rem); max-width: 72rem; }
.core-why img { display: block; width: 100%; height: auto; max-height: 78vh; object-fit: cover; box-shadow: 0 18px 40px rgba(0, 0, 0, 0.3); }
.core-why h3 { margin: 0 0 1rem; font-size: clamp(1.5rem, 2.6vw, 2.1rem); font-weight: 500; line-height: 1.15; }
.core-why p { max-width: 34rem; opacity: 0.88; }
.core-why p + p { margin-top: 1rem; }
@media (max-width: 820px) { .core-why { grid-template-columns: minmax(0, 1fr); } .core-why img { max-height: 60vh; } }

/* media */
.media { padding: clamp(4rem, 10vh, 7rem) var(--pad); background: linear-gradient(var(--shale), var(--umber) 12rem); }
.media-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr)); gap: 2rem 4rem; margin-top: 2.2rem; max-width: 62rem; }
.media-cols > div { padding-top: 1.2rem; border-top: 1px solid rgba(234, 223, 205, 0.3); }
.media h3 { margin: 0; font-size: 1.2rem; font-variation-settings: "wdth" 112; font-weight: 600; }
.media p { margin-top: 0.6rem; opacity: 0.82; }

/* closing over the night photo of the factory: the copy sits low on the left, on the dark ground */
/* the closing follows What we do directly */
.work { padding-bottom: clamp(5rem, 13vh, 9rem); }
.closing-night { justify-content: flex-start; align-items: flex-end; }
.closing-night > img { object-position: 62% 40%; }
.closing-night::after { content: ""; position: absolute; inset: 0; background: linear-gradient(75deg, rgba(10, 8, 9, 0.88) 0%, rgba(10, 8, 9, 0.55) 34%, rgba(10, 8, 9, 0) 62%); }
.closing-night .closing-copy { z-index: 1; padding-bottom: clamp(3rem, 9vh, 6rem); }

@media (max-width: 820px) {
  .who { grid-template-columns: minmax(0, 1fr); }
  .strip img, .strip video { height: clamp(260px, 56vh, 480px); }
  .work h2 { padding-top: 3rem; }
  .closing-night::after { display: none; }
}

/* Turkish home page: under Hakkımızda only the one sentence HYDRA chose (2026-11-27) */
html[lang="tr"] .not-tr { display: none; }

/* certificates under Who we are: small pictures, a larger view on click */
.certs-title { margin: 2rem 0 0.8rem; font-size: 1rem; font-weight: 600; }
.certs { display: flex; flex-wrap: wrap; gap: 0.9rem; margin: 0; padding: 0; list-style: none; }
.certs button { display: block; padding: 0; border: 0; background: none; color: inherit; font: inherit; cursor: zoom-in; text-align: center; }
.certs img { display: block; width: 92px; height: auto; border: 1px solid rgba(42, 28, 24, 0.18); box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12); background: #fff; transition: transform 0.2s ease; }
.certs button:hover img, .certs button:focus-visible img { transform: translateY(-3px); }
.certs span { display: block; margin-top: 0.45rem; font-size: 0.8rem; font-weight: 600; }
html[lang="tr"] .cert-en, html:not([lang="tr"]) .cert-tr { display: none; }
.cert-view { max-width: min(92vw, 760px); max-height: 92vh; padding: 0; border: 0; background: #fff; overflow: auto; }
.cert-view::backdrop { background: rgba(10, 8, 7, 0.82); }
.cert-view img { display: block; width: 100%; height: auto; }
.cert-close { position: sticky; float: right; top: 0.5rem; margin: 0.5rem 0.5rem -2.9rem 0; width: 2.4rem; height: 2.4rem; border: 0; border-radius: 50%; background: rgba(20, 15, 13, 0.85); color: #fff; font-size: 1.5rem; line-height: 1; cursor: pointer; }
@media (prefers-reduced-motion: reduce) { .certs img { transition: none; } }

/* In the press: the magazine cover beside a short text */
.press { display: grid; grid-template-columns: minmax(0, 22rem) minmax(0, 1fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; padding: clamp(3rem, 9vh, 6rem) max(var(--pad), calc((100% - 78rem) / 2)); background: var(--sand); color: var(--ink); }
.press-cover { display: block; padding: 0; border: 0; background: none; cursor: zoom-in; }
.press-cover img { display: block; width: 100%; height: auto; box-shadow: 0 18px 40px rgba(42, 28, 24, 0.28); transition: transform 0.25s ease; }
.press-cover:hover img, .press-cover:focus-visible img { transform: translateY(-4px); }
.press-copy h2 { font-size: clamp(2rem, 4.4vw, 3.6rem); }
.press-copy .lead { margin-top: 1.4rem; }
.press-copy p { margin-top: 1rem; max-width: 46ch; }
@media (max-width: 760px) { .press { grid-template-columns: minmax(0, 1fr); } .press-cover { max-width: 18rem; } }
@media (prefers-reduced-motion: reduce) { .press-cover img { transition: none; } }
