/* Koldesan — black and white, Manrope, logo in Jost Bold.
   Layout after a gateway page: white header, tiles two by two, one wide tile, quiet footer. */
:root {
  --bg: #ffffff;
  --surface: #f1f1f1;
  --ink: #111111;
  --muted: #5c5c5c;
  --line: #e4e4e4;
  --soft-on-dark: #b4b4b4;
  --accent: #1c3373;        /* ink blue: the one highlight colour, for small touches only */
  --accent-detail: #17358f; /* one step livelier than the ink blue, still heavy: only for link underlines and small numerals, where the deep tone reads as black */
  --accent-light: #7f97dd;  /* the same blue lifted, for dark grounds */

  --step-small: 0.75rem;
  --step-body: clamp(0.9375rem, 0.9rem + 0.12vw, 1rem);
  --step-lead: clamp(0.9375rem, 0.88rem + 0.25vw, 1.0625rem);
  --step-head: clamp(1.375rem, 1rem + 1.1vw, 2rem);
  --step-lead-lg: clamp(1.0625rem, 0.95rem + 0.5vw, 1.3125rem);
  --step-display: clamp(2.125rem, 1.2rem + 3.2vw, 4rem);

  --m: clamp(20px, 2.2vw, 32px);
  --gap: clamp(88px, 11vw, 168px);
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 76px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Manrope", "Helvetica Neue", Arial, sans-serif;
  font-size: var(--step-body);
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
h1, h2, h3, p, ul, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; margin: 0; list-style: none; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h2 { font-size: var(--step-head); font-weight: 300; letter-spacing: -0.025em; line-height: 1.2; text-wrap: balance; }
h3 { font-size: var(--step-lead); font-weight: 500; letter-spacing: -0.01em; line-height: 1.3; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.tile--photo:focus-visible { outline-color: #ffffff; }
.tile:focus-visible { outline-offset: -6px; }
::selection { background: var(--accent); color: #ffffff; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* the underlined capital link */
.cta {
  display: inline-block;
  font-size: var(--step-small); font-weight: 500;
  letter-spacing: 0.2em; text-transform: uppercase;
  text-decoration: none;
  padding-bottom: 6px;
  background: linear-gradient(var(--accent-detail), var(--accent-detail)) left bottom / 100% 2px no-repeat; /* taste-skill-ignore: the link's underline */
  transition: background-size 0.4s var(--ease), opacity 0.25s var(--ease);
}
a.cta:hover, .tile:hover .cta { background-size: 40% 2px; }
.tile--photo .cta { background-image: linear-gradient(#ffffff, #ffffff); } /* taste-skill-ignore: the link's underline, white on a photograph */
.cta-row { display: flex; flex-wrap: wrap; gap: 20px 40px; }

/* ---------- Header ---------- */
.top {
  position: sticky; top: 0; z-index: 20;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; column-gap: var(--m);
  min-height: 76px;
  padding: 0 var(--m);
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}
.logo {
  grid-column: 2;
  font-family: "Jost", "Manrope", sans-serif;
  font-size: clamp(1.1875rem, 1rem + 0.7vw, 1.5625rem);
  font-weight: 700;
  letter-spacing: 0.16em; margin-right: -0.16em;
  line-height: 1;
  text-decoration: none; white-space: nowrap;
  transition: opacity 0.25s var(--ease);
}
.logo:hover { opacity: 0.6; }
.menu-btn, .top-contact, .top-lang {
  font: inherit; font-size: var(--step-small); font-weight: 500;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: inherit; text-decoration: none; white-space: nowrap;
  padding: 10px 0;
  transition: opacity 0.25s var(--ease);
}
.menu-btn:hover, .top-contact:hover, .top-lang:hover { opacity: 0.55; }
/* right side of the header: the other language, then contact */
.top-right { grid-column: 3; grid-row: 1; justify-self: end; display: flex; align-items: center; gap: clamp(16px, 2vw, 28px); }
.top-lang { color: var(--muted); }
.nav-lang { margin-top: 14px; }
.nav-lang a { color: var(--muted); }
.menu-btn { display: none; appearance: none; border: 0; background: none; cursor: pointer; justify-self: start; grid-column: 1; grid-row: 1; }
.top-contact { grid-column: 3; grid-row: 1; justify-self: end; }

/* without script: the links sit in a quiet row under the logo */
.top-nav { grid-column: 1 / -1; padding: 0 0 16px; }
.top-nav ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 28px; }
.top-nav a { text-decoration: none; }
.top-nav a:hover { text-decoration: underline; text-underline-offset: 6px; }

/* with script: a menu button opens the links as a white sheet under the header */
.js .menu-btn { display: block; }
.js .top-nav {
  position: fixed; inset: 76px 0 0 0; z-index: 19;
  display: flex; align-items: center; justify-content: center;
  padding: var(--m);
  background: var(--bg);
  opacity: 0; visibility: hidden;
  transition: opacity 0.35s var(--ease), visibility 0.35s;
}
.js .top-nav ul { flex-direction: column; align-items: center; gap: 10px; }
.js .top-nav a { font-size: var(--step-head); font-weight: 300; letter-spacing: -0.025em; line-height: 1.3; }
.js .top-nav a:hover { text-decoration: none; opacity: 0.55; }
.js .top.menu-open .top-nav { opacity: 1; visibility: visible; }

/* ---------- The two brands: one side each ---------- */
.tiles { position: relative; display: grid; grid-template-columns: 1fr 1fr; }
.tile {
  position: relative;
  display: flex; flex-direction: column; justify-content: flex-end; align-items: center;
  min-height: max(560px, calc(100svh - 76px));
  padding: 0 var(--m) clamp(44px, 8vh, 92px);
  overflow: hidden;
  text-align: center; text-decoration: none;
}
.tile--light { background: var(--surface); color: var(--ink); }
.tile--photo { background: #3a3a3a; color: #ffffff; isolation: isolate; } /* the band blends with its own photograph only, and the layer is settled before any hover */
.tile-bg {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: 50% 40%;
  filter: grayscale(1) contrast(1.06);
  transition: transform 1.6s var(--ease);
  will-change: transform; backface-visibility: hidden;
}
.tile--photo:hover .tile-bg { transform: scale(1.04); }
/* the blue band across the foot of the photograph: see-through, it carries the brand's words */
.tile--photo { padding: 0; }
.tile-foot { position: relative; width: 100%; display: grid; justify-items: center; padding: clamp(28px, 4.5vh, 48px) var(--m) clamp(40px, 7vh, 80px); }
.tile-band {
  position: absolute; inset: 0;
  background: var(--accent); mix-blend-mode: multiply; opacity: 0.9;
  will-change: transform; /* Safari only multiplies against the photograph's own layer when the band has a layer too; without this it paints the band as flat colour */
}
.tile-art {
  flex: 1 1 0; min-height: 0;
  width: min(74%, 600px);
  margin: clamp(40px, 9vh, 110px) 0 clamp(24px, 4vh, 56px);
  transition: transform 1.2s var(--ease);
}
.tile:hover .tile-art { transform: translateY(-6px); }
.tile-text { position: relative; z-index: 1; display: grid; justify-items: center; gap: 14px; max-width: 30em; }
.tile-name { font-size: clamp(1.75rem, 1.3rem + 1.5vw, 2.625rem); letter-spacing: -0.035em; line-height: 1; }
.tile-logo { width: clamp(104px, 9.5vw, 150px); height: auto; }
.tile-logo--attu { width: clamp(100px, 9.4vw, 148px); display: block; } /* four letters: narrower than the old six-letter wordmark so the letters stay the size they were */
/* attu has no photograph of its own yet: an empty studio in greys, lit from the floor so the ink-blue band still reads as blue */
.tile-bg--bos {
  filter: none;
  background:
    radial-gradient(130% 70% at 50% 84%, #a3a3a3 0%, #7c7c7c 30%, #474747 58%, rgba(71, 71, 71, 0) 82%),
    linear-gradient(180deg, #121212 0%, #1d1d1d 45%, #333333 100%);
}
.tile-mark { width: clamp(34px, 3.2vw, 46px); height: auto; margin-bottom: 2px; }
/* both bands the same height, their words centred in it, so the two doors line up whatever each one carries */
.tile-foot { min-height: clamp(250px, 36vh, 330px); align-content: center; }
.tile--artlife .tile-band { background: #6b1f24; } /* Artlife's door in bordo; attu keeps the ink blue */ /* the line-drawn attu wordmark; a little wider than the Artlife mark so the two doors weigh the same */
.tile-desc { max-width: 24em; }
.tile-text .cta { margin-top: 12px; }
.tile--light .kicker { color: var(--muted); }
.tile--photo .kicker { color: #ffffff; }

/* small capital label that names a section or a brand */
.kicker { font-size: var(--step-small); font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); }

/* ---------- Lower sections: a small label and a large title, set to the left ---------- */
.sec-head { display: grid; gap: 14px; }
.display { font-size: var(--step-display); font-weight: 300; letter-spacing: -0.035em; line-height: 1.05; }
.group, .markalar, .atolye, .uretim, .surec, .aile, .iletisim { padding: var(--gap) clamp(20px, 5vw, 80px); }

/* ---------- Koldesan, the group ---------- */
.group { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--m); row-gap: clamp(40px, 5vw, 72px); }
.group .sec-head { grid-column: 1 / span 7; }
.sec-lead { grid-column: 8 / -1; align-self: end; font-size: var(--step-lead-lg); line-height: 1.5; max-width: 30em; }
.story { grid-column: 1 / span 6; display: grid; gap: 1.2em; align-content: start; font-size: var(--step-lead); line-height: 1.6; max-width: 34em; color: #2a2a2a; }
.story p:first-of-type { font-size: var(--step-lead-lg); line-height: 1.5; color: var(--ink); }
/* the old "Firmamız" text from the Art Life site, kept word for word: its own heading above, a note below saying where it comes from */
.story-baslik { font-size: var(--step-small); font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); }
.story-not { font-size: var(--step-small); color: var(--muted); letter-spacing: 0.04em; }
.story-photo { grid-column: 7 / -1; margin: 0; display: grid; gap: 12px; }
.story-photo img { width: 100%; height: auto; filter: grayscale(1) contrast(1.04); } /* the archive photograph keeps its own proportions: nobody is cropped */
.story-photo figcaption { font-size: var(--step-small); color: var(--muted); letter-spacing: 0.04em; }
.story-photo .anma { display: block; margin-top: 10px; font-size: var(--step-lead); line-height: 1.5; letter-spacing: 0; color: #2a2a2a; } /* in memory of Kazım Tuğrul: a full sentence, a step above the caption */
/* yer tutucu: fotoğraf gelene kadar aynı oranda sessiz bir yüzey */
.photo-pending { aspect-ratio: 16 / 10; display: grid; place-items: center; background: var(--surface); border: 1px solid var(--line); }
.photo-pending span { font-size: var(--step-small); font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); }
.figures {
  grid-column: 1 / -1;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--m);
  padding-top: clamp(28px, 4vw, 48px); border-top: 1px solid var(--line);
}
.figures dt { font-size: clamp(2.75rem, 1.6rem + 4vw, 5.25rem); font-weight: 200; letter-spacing: -0.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.figures dd { margin-top: 12px; color: var(--muted); }

/* ---------- İki marka yan yana ---------- */
.markalar { display: grid; row-gap: clamp(40px, 5vw, 72px); background: var(--surface); }
.marka-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--m); }
.marka { display: grid; align-content: start; gap: 22px; padding: clamp(28px, 3.4vw, 48px); background: var(--bg); min-height: 100%; }
.marka-logo { height: clamp(44px, 4.2vw, 60px); width: auto; align-self: start; }
.marka-logo--artlife { height: clamp(56px, 5.4vw, 76px); }
.marka h3 { font-size: var(--step-head); font-weight: 300; letter-spacing: -0.025em; line-height: 1.2; margin-top: 6px; }
.marka > p { color: #2a2a2a; max-width: 30em; }
.marka dl { display: grid; grid-template-columns: auto 1fr; column-gap: 24px; row-gap: 12px; margin: 0; padding-top: 22px; border-top: 1px solid var(--line); font-size: 0.9375rem; }
.marka dt { color: var(--muted); font-size: var(--step-small); letter-spacing: 0.14em; text-transform: uppercase; padding-top: 3px; }
.marka dd { margin: 0; }
.marka .cta { margin-top: 10px; justify-self: start; }
.marka--attu .marka-logo { height: clamp(40px, 3.8vw, 54px); }

/* ---------- Atölye: dark, the four departments as large lines ---------- */
.atolye { display: grid; row-gap: clamp(40px, 5vw, 72px); background: var(--ink); color: #ffffff; }
.atolye .kicker { color: var(--soft-on-dark); }
.atolye-grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 5vw, 80px); align-items: start; }
.atolye-photo { margin: 0; display: grid; gap: 12px; position: sticky; top: calc(76px + 32px); }
.atolye-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; filter: grayscale(1) contrast(1.08) brightness(0.92); }
.atolye-photo figcaption { font-size: var(--step-small); color: var(--soft-on-dark); letter-spacing: 0.04em; }
.atolye-lead { font-size: var(--step-lead-lg); line-height: 1.5; color: #e6e6e6; max-width: 34em; margin-bottom: clamp(24px, 3vw, 40px); }
.crafts li {
  display: grid; grid-template-columns: 5fr 7fr; column-gap: var(--m); align-items: baseline;
  padding: clamp(20px, 2.6vw, 36px) 0; border-top: 1px solid #343434;
}
.crafts li:last-child { border-bottom: 1px solid #343434; }
.crafts h3 { font-size: clamp(1.75rem, 1rem + 2.8vw, 3.5rem); font-weight: 300; letter-spacing: -0.035em; line-height: 1; }
.crafts p { font-size: var(--step-lead-lg); line-height: 1.45; color: #cfcfcf; max-width: 30em; }

/* ---------- Üretim: mimarlar ve tasarımcılar için ---------- */
.uretim { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--m); row-gap: clamp(40px, 5vw, 72px); border-top: 1px solid var(--line); }
.uretim .sec-head { grid-column: 1 / span 7; }
.uretim .sec-lead { grid-column: 8 / -1; }
.uretim-list { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--m); }
.uretim-list li { padding-top: 22px; border-top: 1px solid var(--ink); }
.uretim-list h3 { font-size: var(--step-head); font-weight: 300; letter-spacing: -0.025em; line-height: 1.2; }
.uretim-list p { margin-top: 14px; color: #2a2a2a; line-height: 1.55; max-width: 28em; }
.uretim .cta-row { grid-column: 1 / -1; }

/* ---------- Süreç: beş adım, bir çizgi ---------- */
.surec { display: grid; row-gap: clamp(40px, 5vw, 72px); }
.surec .sec-head { grid-column: 1 / -1; }
.adimlar { display: grid; grid-template-columns: repeat(5, 1fr); gap: var(--m); counter-reset: adim; }
.adimlar li { padding-top: 22px; border-top: 1px solid var(--ink); }
.adimlar li::before { counter-increment: adim; content: "0" counter(adim); display: block; font-size: var(--step-small); font-weight: 500; letter-spacing: 0.2em; color: var(--accent-detail); margin-bottom: 18px; }
.adimlar h3 { font-size: var(--step-lead-lg); font-weight: 400; letter-spacing: -0.015em; }
.adimlar p { margin-top: 10px; color: var(--muted); line-height: 1.55; font-size: 0.9375rem; }
.nerede { display: grid; grid-template-columns: 3fr 9fr; gap: var(--m); padding-top: clamp(28px, 4vw, 48px); border-top: 1px solid var(--line); align-items: baseline; }
.nerede-list { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--m); }
.nerede-list strong { display: block; font-weight: 500; }
.nerede-list span { display: block; margin-top: 6px; color: var(--muted); font-size: 0.9375rem; line-height: 1.5; }

/* ---------- Aile ---------- */
.aile { display: grid; row-gap: clamp(40px, 5vw, 72px); }
.aile-names {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px var(--m);
  padding-top: clamp(28px, 4vw, 48px); border-top: 1px solid var(--line);
}
.aile-names img { width: 84px; aspect-ratio: 1 / 1; object-fit: cover; object-position: 50% 20%; filter: grayscale(1) contrast(1.04); margin-bottom: 16px; } /* small on purpose: the full portraits live on the Artlife site, here the names and roles lead */
.aile-names strong { display: block; font-size: clamp(1.25rem, 1rem + 0.9vw, 1.75rem); font-weight: 400; letter-spacing: -0.02em; line-height: 1.2; }
.aile-names span { display: block; margin-top: 8px; color: var(--muted); }

/* ---------- İletişim ---------- */
.iletisim { display: grid; row-gap: clamp(28px, 3.4vw, 48px); justify-items: start; background: var(--surface); }
.mail {
  font-size: clamp(1.5rem, 0.6rem + 4vw, 4.5rem); font-weight: 200; letter-spacing: -0.035em; line-height: 1.05;
  text-decoration: none; overflow-wrap: anywhere;
  transition: opacity 0.3s var(--ease);
}
.mail:hover { opacity: 0.55; }
.adresler { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--m); width: 100%; padding-top: clamp(28px, 4vw, 48px); border-top: 1px solid var(--line); }
.adresler h3 { font-size: var(--step-small); font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.adresler p { line-height: 1.55; }
.adresler a { text-decoration: none; }
.adresler a:hover { text-decoration: underline; text-underline-offset: 5px; }

/* ---------- Footer ---------- */
.foot { border-top: 1px solid var(--line); }
.foot-main {
  display: grid; grid-template-columns: auto auto 1fr; column-gap: clamp(40px, 7vw, 110px); row-gap: 32px;
  padding: clamp(48px, 6vw, 88px) clamp(20px, 5vw, 80px);
}
.foot-main li { margin-bottom: 12px; font-size: 0.875rem; }
.foot-main a { text-decoration: none; }
.foot-main a:hover { text-decoration: underline; text-underline-offset: 5px; }
.foot-social { justify-self: end; text-align: right; }
.foot-legal { border-top: 1px solid var(--line); padding: 26px clamp(20px, 5vw, 80px) 30px; font-size: var(--step-small); color: #767676; }

/* ---------- Motion ---------- */
@keyframes rise { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }
.js [data-rise] { opacity: 0; transform: translateY(20px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); transition-delay: var(--d, 0ms); }
.js [data-rise].in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js [data-rise] { opacity: 1; transform: none; transition: none; }
  .tile-bg, .tile-art { transition: none; }
}

/* ---------- Tablet ---------- */
@media (max-width: 960px) {
  .group .sec-head, .sec-lead, .story, .story-photo { grid-column: 1 / -1; }
  .figures { grid-template-columns: repeat(2, 1fr); row-gap: 32px; }
  .marka-grid { grid-template-columns: 1fr; }
  .uretim .sec-head, .uretim .sec-lead { grid-column: 1 / -1; }
  .uretim-list { grid-template-columns: 1fr; row-gap: 32px; }
  .atolye-grid { grid-template-columns: 1fr; }
  .atolye-photo { position: static; max-width: 520px; }
  .adimlar { grid-template-columns: repeat(2, 1fr); row-gap: 32px; }
  .nerede { grid-template-columns: 1fr; }
  .nerede-list { grid-template-columns: repeat(2, 1fr); }
  .aile-names { grid-template-columns: repeat(2, 1fr); }
  .adresler { grid-template-columns: 1fr 1fr; }
}

/* ---------- 404 ---------- */
.yok { min-height: calc(100svh - 77px); display: grid; align-content: center; justify-items: start; gap: 22px; padding: var(--gap) clamp(20px, 5vw, 80px); }
.yok-metin { font-size: var(--step-lead-lg); line-height: 1.5; color: #2a2a2a; }
.yok-metin span { color: var(--muted); }

/* ---------- Phone ---------- */
@media (max-width: 700px) {
  .top { min-height: 62px; }
  .js .top-lang { display: none; } /* no room beside the wordmark on a phone: the language link is the last line of the menu instead */
  .js .top-nav { inset: 62px 0 0 0; }
  html { scroll-padding-top: 62px; }

  .tiles { grid-template-columns: 1fr; }
  .tile { min-height: 74svh; padding-bottom: 44px; }
  .tile--photo { padding-bottom: 0; }
  .tile-art { width: 80%; margin-top: 36px; }

  .figures { grid-template-columns: 1fr 1fr; row-gap: 28px; }
  .crafts li { grid-template-columns: 1fr; row-gap: 10px; }
  .adimlar { grid-template-columns: 1fr; }
  .nerede-list { grid-template-columns: 1fr; }
  .aile-names { grid-template-columns: 1fr 1fr; row-gap: 24px; }
  .adresler { grid-template-columns: 1fr; }

  .foot-main { grid-template-columns: 1fr 1fr; }
  .foot-social { grid-column: 1 / -1; justify-self: start; text-align: left; }
}
