@font-face {
  font-family: "Archivo"; font-style: normal; font-display: swap;
  font-weight: 100 900; font-stretch: 62% 125%;
  src: url(fonts/archivo-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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Archivo"; font-style: normal; font-display: swap;
  font-weight: 100 900; font-stretch: 62% 125%;
  src: url(fonts/archivo-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;
}

/* The yard: raw concrete grounds, logo-green painted sign plates, coal. */
:root {
  --green: #1f6b35;        /* logo green: every sign plate and action */
  --green-deep: #174f28;   /* pressed / open sign */
  --green-tint: #cfe3d4;   /* text on green fields that is not white */
  --concrete: #e4e5e0;     /* page ground */
  --concrete-2: #d6d8d2;   /* bay floor, one tone step down */
  --wall: #34383b;         /* retaining wall: the one dark field */
  --wall-ink: #eceee9;
  --wall-soft: #c3c8c2;
  --ink: #1d2124;
  --ink-soft: #454b4f;
  --white: #ffffff;

  --t-display: clamp(2.6rem, 5.6vw, 5.5rem);
  --t-h2: clamp(1.9rem, 3.4vw, 3.1rem);
  --t-mid: clamp(1.2rem, 1.6vw, 1.5rem);
  --t-body: 1.125rem;
  --t-small: 0.9375rem;

  --frame: 88rem;
  --gutter: clamp(1rem, 3.2vw, 2.5rem);
  --section: clamp(4rem, 7.5vw, 7rem);
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scrollbar-color: var(--ink-soft) var(--concrete); }
body {
  margin: 0;
  background: var(--concrete);
  color: var(--ink);
  font: 400 var(--t-body)/1.55 "Archivo", system-ui, sans-serif;
  font-stretch: 100%;
  caret-color: var(--green);
}
::selection { background: var(--green); color: var(--white); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--green); text-underline-offset: 0.2em; text-decoration-thickness: 1.5px; }
:focus-visible { outline: 3px solid var(--green); outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

h1, h2, h3 {
  font-stretch: 78%;
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: -0.02em;
  word-spacing: 0.14em;
  margin: 0 0 0.45em;
  text-wrap: balance;
}
h1 { font-size: var(--t-display); }
h2 { font-size: var(--t-h2); }
h3 { font-size: var(--t-mid); line-height: 1.1; }
p { margin: 0 0 1em; max-width: 66ch; }
.lede { font-size: var(--t-mid); line-height: 1.4; max-width: 34ch; }
.frame { max-width: var(--frame); margin-inline: auto; padding-inline: var(--gutter); }

.skip { position: absolute; left: -999px; top: 0; z-index: 10; background: var(--white); padding: 0.6rem 1rem; }
.skip:focus { left: 1rem; }

/* gate bar ---------------------------------------------------------------- */
.gate { background: var(--white); }
.gate-row { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 2.25rem; padding-block: 0.9rem; }
.logo img { width: 190px; }
.nav { display: flex; flex-wrap: wrap; gap: 0.25rem 1.6rem; margin-right: auto; }
.nav a { position: relative; color: var(--ink); text-decoration: none; font-weight: 600; padding-block: 0.4rem; }
.nav a::after { content: ""; position: absolute; inset: auto 0 0 0; height: 3px; background: var(--green); transform: scaleX(0); transform-origin: left; transition: transform 220ms var(--ease-out); }
.nav a[aria-current="page"]::after { transform: none; }
@media (hover: hover) and (pointer: fine) { .nav a:hover::after { transform: none; } }
.b2b-menu { position: relative; }
.b2b-menu summary { list-style: none; cursor: pointer; font-size: var(--t-mid); padding: 0.75rem 1.4rem; }
.b2b-menu summary::-webkit-details-marker { display: none; }
.b2b-menu summary::after { content: ""; display: inline-block; width: 0.45em; height: 0.45em; margin-left: 0.6em; border: solid currentColor; border-width: 0 3px 3px 0; transform: translateY(-0.2em) rotate(45deg); transition: transform 200ms var(--ease-out); }
.b2b-menu[open] summary::after { transform: translateY(0.05em) rotate(-135deg); }
.b2b-list { position: absolute; right: 0; top: calc(100% + 0.4rem); z-index: 20; min-width: 100%; display: grid; gap: 2px; background: var(--green); border-radius: 2px; transform-origin: top right; }
.b2b-menu:not([open]) .b2b-list { display: none; }
.b2b-list a { background: var(--green-deep); color: var(--white); text-decoration: none; font-weight: 700; font-stretch: 85%; white-space: nowrap; padding: 0.85rem 1.4rem; }
.b2b-list a:hover, .b2b-list a:focus-visible { background: var(--green); }
@media (prefers-reduced-motion: no-preference) {
  .b2b-menu[open] .b2b-list { animation: drop 180ms var(--ease-out); }
}
@keyframes drop { from { opacity: 0; transform: scale(0.97) translateY(-4px); } to { opacity: 1; transform: none; } }

/* green painted plate: the one control shape, square-cornered */
.plate-btn, .btn-light {
  display: inline-block;
  padding: 0.7rem 1.1rem;
  border-radius: 2px;
  font-weight: 700;
  font-stretch: 85%;
  text-decoration: none;
  line-height: 1.2;
  transition: transform 160ms var(--ease-out), background-color 160ms ease;
}
.plate-btn { background: var(--green); color: var(--white); }
.plate-btn:hover { background: var(--green-deep); }
.btn-light { background: var(--white); color: var(--green); }
.btn-light:hover { background: var(--concrete); }
.plate-btn:active, .btn-light:active, .bay-link:active { transform: scale(0.97); }
.plate-btn-big { font-size: var(--t-mid); padding: 1rem 1.5rem; }
.text-link { font-weight: 700; }

/* photos and credits ------------------------------------------------------ */
.photo { margin: 0; }
.photo img { width: 100%; object-fit: cover; }

/* hero: the yard itself, a green sign plate set on its lower edge --------- */
.hero { position: relative; background: var(--wall); }
.hero-photo { position: relative; overflow: hidden; }
.hero-photo img { height: clamp(22rem, 66vh, 44rem); object-position: 40% 55%; }
.hero-frame { position: absolute; inset: auto 0 0 0; }
.hero-plate { background: var(--green); color: var(--white); padding: clamp(1.5rem, 3vw, 2.75rem); max-width: 40rem; margin-bottom: clamp(2.5rem, 6vh, 4rem); }
.hero-plate h1 { margin-bottom: 0.3em; }
.hero-plate p { color: var(--green-tint); font-size: var(--t-mid); line-height: 1.4; max-width: 30ch; }
@media (prefers-reduced-motion: no-preference) {
  .hero-photo img { animation: settle 1.8s var(--ease-out) both; }
  .js .hero-plate { animation: plate-in 700ms var(--ease-out) 150ms both; }
}
@keyframes settle { from { transform: scale(1.08); } to { transform: scale(1); } }
@keyframes plate-in { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }

/* sections ---------------------------------------------------------------- */
.yard, .tech, .about-guide, .wall, .contact { padding-block: var(--section); }
.yard { padding-top: clamp(3rem, 6vw, 5rem); }
.yard-tight { padding-top: 0; }
.section-head { margin-bottom: clamp(1.75rem, 3vw, 2.75rem); }
.section-head h2 { margin-bottom: 0.3em; }
.section-head p { margin: 0; }
.tech { background: var(--white); }

/* bays: one per grade, fine to coarse -------------------------------------- */
.bays { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: clamp(0.5rem, 1vw, 0.9rem); }
.bay-link { display: flex; flex-direction: column; height: 100%; color: inherit; text-decoration: none; transition: transform 160ms var(--ease-out); }
.sign {
  display: flex; flex-direction: column; gap: 0.15rem;
  background: var(--green); color: var(--white);
  padding: 0.85rem 0.9rem 0.95rem;
  border-radius: 2px;
  margin: 0;
  position: relative; z-index: 1;
  transition: transform 220ms var(--ease-out), background-color 160ms ease;
}
.sign-name { font-size: var(--t-mid); font-weight: 800; font-stretch: 72%; line-height: 1; text-transform: uppercase; overflow-wrap: anywhere; }
.sign-size { font-weight: 600; font-variant-numeric: tabular-nums; color: var(--green-tint); }
.pile { display: block; background: var(--concrete-2); overflow: hidden; aspect-ratio: 1 / 1; margin-top: -2px; }
.pile img {
  width: 100%; height: 100%; object-fit: cover;
  transform: scale(1.5); /* crops the baked-in label and logo off the old product shots */
  mix-blend-mode: multiply; /* their white studio ground becomes the bay floor */
  transition: transform 400ms var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .bay-link:hover .sign { transform: translateY(-6px); background: var(--green-deep); }
  .bay-link:hover .pile img { transform: scale(1.56); }
}
.bay-link[aria-expanded="true"] .sign, .bay-link[aria-current="page"] .sign { transform: translateY(-14px); background: var(--green-deep); }

.spec-plates { margin-top: clamp(0.75rem, 1.5vw, 1.25rem); }
.spec-plate {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 1.5rem 3rem;
  background: var(--white); padding: clamp(1.25rem, 3vw, 2.25rem);
}
.spec-plate h3 { margin-bottom: 0.4em; }
.spec-plate[hidden] { display: none; }
@media (prefers-reduced-motion: no-preference) {
  .spec-plate:not([hidden]) { animation: open-plate 280ms var(--ease-out); }
}
@keyframes open-plate { from { clip-path: inset(0 0 100% 0); opacity: 0.4; } to { clip-path: inset(0 0 0 0); opacity: 1; } }

/* spec figures: one stencilled steel plate, label and value per row, tabular numerals */
.figs { margin: 0; background: var(--wall); color: var(--wall-ink); padding: 1rem 1.4rem; border-radius: 2px; display: grid; grid-template-columns: max-content minmax(0, 1fr); column-gap: 2rem; }
.figs div { display: contents; }
.figs dt, .figs dd { padding-block: 0.55rem; }
.figs div + div dt, .figs div + div dd { box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12); } /* taste-skill-ignore: rows on a real data plate */
.figs dt { color: var(--wall-soft); }
.figs dd { margin: 0; font-weight: 800; font-stretch: 78%; font-size: var(--t-mid); line-height: 1.2; font-variant-numeric: tabular-nums; color: var(--white); }

/* technical table --------------------------------------------------------- */
.table-wrap { overflow-x: auto; }
.specs { width: 100%; min-width: 52rem; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.specs th, .specs td { text-align: left; vertical-align: top; padding: 1rem 1.25rem 1rem 0; border-bottom: 1px solid var(--concrete-2); }
.specs thead th { font-size: var(--t-small); font-weight: 600; color: var(--ink-soft); border-bottom: 3px solid var(--green); }
.specs tbody th a { font-weight: 800; font-stretch: 80%; font-size: var(--t-mid); text-decoration: none; }
.specs tbody th a:hover { text-decoration: underline; }

/* coal guide teaser ------------------------------------------------------- */
.notes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, 2.5vw, 2.25rem); margin-top: clamp(1.75rem, 3vw, 2.75rem); }
.note img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; margin-bottom: 1.25rem; }
.note h3 { margin-bottom: 0.35em; }
.note p { margin-bottom: 0.6em; }

/* the retaining wall: the page's one dark field ------------------------------ */
.wall { background: var(--wall); color: var(--wall-ink); }
.wall a { color: var(--white); }
.wall-grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.wall .lede { max-width: 38ch; }
.timeline { list-style: none; margin: 2rem 0; padding: 0; display: grid; gap: 0.5rem; }
.timeline li { display: grid; grid-template-columns: 5.5rem minmax(0, 1fr); gap: 1rem; align-items: baseline; padding-block: 0.6rem; }
.year { font-size: var(--t-mid); font-weight: 800; font-stretch: 75%; color: var(--white); font-variant-numeric: tabular-nums; }
.wall .order-actions .plate-btn { background: var(--white); color: var(--green); }
.wall .order-actions .plate-btn:hover { background: var(--concrete); }
.wall-b2b { margin-bottom: 0; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1.5rem 3rem; align-items: center; }
.wall-b2b .order-actions { justify-content: flex-end; }
.wall-b2b .plate-btn-big { flex: 1 1 14rem; text-align: center; }

/* contact: the yard's gate office ------------------------------------------ */
.contact-grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.offices { display: grid; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); gap: 1rem; margin-top: 2rem; }
.office { background: var(--concrete-2); padding: 1.4rem 1.5rem 1.5rem; }
.office-h { font-size: var(--t-mid); line-height: 1.1; margin-bottom: 0.5rem; }
.phone { display: inline-block; font-size: var(--t-mid); font-weight: 800; font-stretch: 85%; color: var(--ink); text-decoration: none; font-variant-numeric: tabular-nums; }
.phone:hover { color: var(--green); }
.office address { font-style: normal; color: var(--ink-soft); margin-bottom: 0.9rem; }
.office-links { display: flex; flex-wrap: wrap; gap: 0.4rem 1.25rem; margin: 0; font-weight: 700; }

/* inner pages ------------------------------------------------------------- */
.page-head { padding-block: clamp(2.5rem, 6vw, 5rem) clamp(2.5rem, 5vw, 4rem); }
.about-head { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.toc { list-style: none; padding: 0; margin: 1.5rem 0 0; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.toc a { display: inline-block; background: var(--white); padding: 0.55rem 0.9rem; font-weight: 700; text-decoration: none; border-radius: 2px; }
.toc a:hover { background: var(--green); color: var(--white); }
.guide-list { padding-bottom: 0; }
.guide-sec { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; padding-block: clamp(2.5rem, 5vw, 4.5rem); scroll-margin-top: 1rem; }
.guide-sec.flip > img { order: 2; }
.guide-sec img { width: 100%; aspect-ratio: 5 / 3; object-fit: cover; }
.guide-sec ul { padding-left: 1.2rem; }
.guide-sec li { margin-bottom: 0.6rem; max-width: 62ch; }

.product { padding-block: clamp(1.5rem, 3vw, 2.5rem) var(--section); }
.crumbs { font-size: var(--t-small); color: var(--ink-soft); margin-bottom: clamp(1.5rem, 3vw, 2.5rem); }
.product-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.sign-big { padding: 1.25rem 1.4rem 1.4rem; }
.sign-big .sign-name { font-size: var(--t-h2); }
.sign-big .sign-size { font-size: var(--t-mid); }
.pile-big { aspect-ratio: 1 / 1; }
.product-text .lede { max-width: 44ch; }
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem 2rem; margin: 2rem 0; }
.facts dt { font-size: var(--t-small); color: var(--ink-soft); }
.facts dd { margin: 0.15rem 0 0; font-weight: 700; }
.h-small { font-size: var(--t-mid); margin-top: 2.25rem; }
.order { margin-top: 2.25rem; font-weight: 600; }
.order-actions { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.order-phones { margin-top: 1rem; display: flex; flex-wrap: wrap; gap: 0.25rem 1.5rem; }
.order-phones span { white-space: nowrap; }
.order-phones a { font-weight: 700; font-variant-numeric: tabular-nums; }

/* footer: the name returns at full width ----------------------------------- */
.foot { background: var(--white); padding-block: clamp(3rem, 5vw, 4.5rem) 2rem; }
.foot-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem; margin-bottom: 2.5rem; }
.foot h2 { font-size: var(--t-body); font-stretch: 90%; margin-bottom: 0.6rem; letter-spacing: 0; }
.foot-grid p { margin: 0 0 0.35rem; }
.foot-small { font-size: var(--t-small); color: var(--ink-soft); max-width: 80ch; }
.foot-small a { color: var(--ink-soft); }
.credits { padding-left: 1.2rem; margin: 1.5rem 0 0; }
.credits li { margin-bottom: 0.6rem; max-width: 70ch; }


/* phones and tablets -------------------------------------------------------- */
@media (max-width: 1100px) {
  .bays { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 780px) {
  .gate-row { gap: 0.6rem 1rem; }
  .logo img { width: 150px; }
  .nav { order: 3; width: 100%; gap: 0.2rem 0.9rem; font-size: 0.95rem; flex-wrap: nowrap; }
  .b2b-menu { margin-left: auto; }
  .b2b-menu summary { font-size: var(--t-body); padding: 0.65rem 1rem; }
  .foot-grid { grid-template-columns: minmax(0, 1fr); gap: 1.25rem; }
  /* the spec table stacks one product per block on phones */
  .table-wrap { overflow: visible; }
  .specs { min-width: 0; }
  .specs thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .specs tr { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0.25rem 1rem; padding-block: 1.1rem; border-bottom: 1px solid var(--concrete-2); }
  .specs th, .specs td { display: block; padding: 0; border: 0; }
  .specs tbody th { grid-column: 1 / -1; margin-bottom: 0.25rem; }
  .specs td::before { content: attr(data-label); display: block; font-size: var(--t-small); color: var(--ink-soft); }
  .specs td[data-label="Kullanım"] { grid-column: 1 / -1; }
  .hero-photo img { height: 46vh; }
  .hero-frame { position: static; }
  .hero-plate { margin: -2.5rem 0 0; position: relative; }
  .wall-b2b, .wall-grid, .contact-grid, .about-head, .product-grid, .guide-sec, .spec-plate { grid-template-columns: minmax(0, 1fr); }
  .guide-sec.flip > img { order: 0; }
  .product-text { order: -1; }
  .bays { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .figs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .facts { grid-template-columns: 1fr; }
  .timeline li { grid-template-columns: 4rem minmax(0, 1fr); }
}
@media (max-width: 600px) {
  .notes { grid-template-columns: minmax(0, 1fr); }
}
