/* Tatanga Ltd — site styles
   Palette taken from the logo: forest #133524, cream #EFEAD2.
   Black is the Sakaryaspor kit black. Copper is the trade accent. */

:root {
  --black:       #0B0E0C;
  --forest:      #133524;
  --forest-mid:  #1B4631;
  --forest-soft: #27573E;
  --cream:       #EFEAD2;
  --bone:        #F7F6EE;
  --bone-2:      #ECEADF;
  --copper:      #C2854A;
  --copper-lit:  #D79C5F;
  --ink:         #15201A;
  --muted:       #5C6960;
  --muted-dark:  rgba(239,234,210,.66);
  --line-dark:   rgba(239,234,210,.16);
  --line-light:  rgba(21,32,26,.14);

  --wrap: 1180px;
  --gut: 24px;
  --r: 4px;

  --f-display: "Newsreader", Georgia, "Times New Roman", serif;
  --f-ui: "Schibsted Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bone);
  color: var(--ink);
  font-family: var(--f-ui);
  font-size: 17px;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; }

h1, h2, h3, h4 {
  font-family: var(--f-display);
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: -.012em;
  margin: 0 0 .5em;
}
h1 { font-size: clamp(2.35rem, 5.4vw, 4rem); }
h2 { font-size: clamp(1.85rem, 3.4vw, 2.7rem); }
h3 { font-size: 1.27rem; line-height: 1.25; }
p  { margin: 0 0 1.05em; max-width: 68ch; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gut); }
.lede { font-size: clamp(1.06rem, 1.6vw, 1.22rem); color: var(--muted); max-width: 60ch; }
.on-dark .lede { color: var(--muted-dark); }

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

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--cream); color: var(--forest); padding: 12px 18px; font-weight: 600;
}
.skip:focus { left: 8px; top: 8px; }

/* ---------- header rule ----------
   The green/black kit stripe lives in the project imagery, where it has the
   vertical room to read as stripes. Across a 1440px band it degrades into a
   serrated texture, so the chrome gets a plain copper rule instead. */
.stripe { height: 3px; background: var(--copper); }

/* ---------- header ---------- */
.topbar {
  background: var(--black);
  color: var(--muted-dark);
  font-size: .845rem;
  letter-spacing: .01em;
}
.topbar .wrap { display: flex; gap: 20px; align-items: center; min-height: 40px; flex-wrap: wrap; }
.topbar a { text-decoration: none; }
.topbar a:hover { color: var(--cream); }
.topbar .sep { opacity: .35; }
.topbar .right { margin-left: auto; display: flex; gap: 16px; align-items: center; }

.masthead { background: var(--forest); color: var(--cream); position: sticky; top: 0; z-index: 40; }
.masthead .wrap { display: flex; align-items: center; gap: 28px; min-height: 86px; }

.brand { display: flex; align-items: center; text-decoration: none; flex-shrink: 0; }
.brand img { height: 62px; width: auto; }
@media (max-width: 760px) { .brand img { height: 50px; } }

.nav { margin-left: auto; display: flex; align-items: center; gap: 30px; }
.nav a {
  text-decoration: none; font-size: .95rem; font-weight: 500;
  color: var(--cream); padding: 6px 0; position: relative;
}
.nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
  background: var(--copper); transform: scaleX(0); transform-origin: left;
  transition: transform .18s ease;
}
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
@media (prefers-reduced-motion: reduce) { .nav a::after { transition: none; } }

.menu-btn {
  display: none; margin-left: auto; background: none; border: 1px solid var(--line-dark);
  color: var(--cream); padding: 9px 14px; font: inherit; font-size: .92rem; cursor: pointer;
  border-radius: var(--r);
}

/* ---------- buttons ---------- */
.btn {
  display: inline-block; text-decoration: none; cursor: pointer;
  font-family: var(--f-ui); font-size: .95rem; font-weight: 600;
  padding: 13px 24px; border-radius: var(--r); border: 1.5px solid transparent;
  transition: background-color .16s ease, color .16s ease, border-color .16s ease;
}
@media (prefers-reduced-motion: reduce) { .btn { transition: none; } }
.btn--primary { background: var(--cream); color: var(--forest); }
.btn--primary:hover { background: #fff; }
.btn--copper { background: var(--copper); color: #1A1206; }
.btn--copper:hover { background: var(--copper-lit); }
.btn--ghost { border-color: var(--line-dark); color: var(--cream); }
.btn--ghost:hover { border-color: var(--cream); }
.btn--dark { background: var(--forest); color: var(--cream); }
.btn--dark:hover { background: var(--forest-mid); }
.btn--outline { border-color: var(--line-light); color: var(--ink); }
.btn--outline:hover { border-color: var(--forest); }

.btn-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 26px; }

/* ---------- sections ---------- */
.sec { padding: clamp(60px, 8vw, 104px) 0; }
.sec--tight { padding: clamp(44px, 5vw, 64px) 0; }
.on-dark { background: var(--forest); color: var(--cream); }
.on-black { background: var(--black); color: var(--cream); }
.on-bone { background: var(--bone-2); }

.sec-head { max-width: 62ch; margin-bottom: 44px; }
.sec-head p { margin-bottom: 0; }

/* ---------- hero ---------- */
.hero {
  background:
    radial-gradient(120% 90% at 78% 12%, rgba(39,87,62,.85) 0%, rgba(19,53,36,0) 58%),
    linear-gradient(176deg, var(--forest) 0%, var(--black) 100%);
  color: var(--cream);
  padding: clamp(58px, 9vw, 110px) 0 clamp(54px, 7vw, 92px);
  position: relative;
  overflow: hidden;
}
.hero-mark { width: min(330px, 62vw); margin-bottom: 30px; }
.hero h1 { max-width: 16ch; margin-bottom: .36em; }
.hero .lede { max-width: 52ch; }
.hero-foot {
  margin-top: clamp(40px, 6vw, 68px); padding-top: 22px;
  border-top: 1px solid var(--line-dark);
  display: flex; flex-wrap: wrap; gap: 10px 30px;
  font-size: .9rem; color: var(--muted-dark);
}
.hero-foot strong { color: var(--cream); font-weight: 600; }

/* ---------- services ---------- */
.svc-grid {
  display: grid; gap: 1px; background: var(--line-light);
  border: 1px solid var(--line-light);
  grid-template-columns: repeat(auto-fit, minmax(265px, 1fr));
}
.svc {
  background: var(--bone); padding: 30px 26px 28px;
  display: flex; flex-direction: column; gap: 9px;
}
.svc .ic { color: var(--copper); }
.svc .ic svg { width: 26px; height: 26px; }
.svc h3 { margin: 0; }
.svc p { margin: 0; font-size: .95rem; color: var(--muted); }
.on-dark .svc { background: var(--forest); }
.on-dark .svc p { color: var(--muted-dark); }
.on-dark .svc-grid { background: var(--line-dark); border-color: var(--line-dark); }

/* ---------- split ---------- */
.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(34px, 5vw, 70px); align-items: center; }
.split--narrow { grid-template-columns: 1fr 1fr; }
.split img { border-radius: var(--r); }

/* ---------- counters ---------- */
.counts { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 30px; }
.count .n { font-family: var(--f-display); font-size: clamp(2.2rem, 4vw, 3.1rem); line-height: 1; color: var(--copper-lit); }
.count .l { font-size: .92rem; color: var(--muted-dark); margin-top: 8px; }

/* ---------- projects ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 9px; margin-bottom: 32px; }
.filter {
  font: inherit; font-size: .9rem; font-weight: 500; cursor: pointer;
  background: transparent; color: var(--muted); padding: 8px 16px;
  border: 1px solid var(--line-light); border-radius: 999px;
}
.filter:hover { color: var(--ink); border-color: var(--forest); }
.filter[aria-pressed="true"] { background: var(--forest); border-color: var(--forest); color: var(--cream); }

.proj-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 22px; }
.proj {
  border: 1px solid var(--line-light); border-radius: var(--r); overflow: hidden;
  background: var(--bone); text-align: left; padding: 0; font: inherit; cursor: pointer;
  display: flex; flex-direction: column;
}
.proj:hover { border-color: var(--forest); }
.proj-img { position: relative; aspect-ratio: 4 / 3; background: var(--forest); }
.proj-img img { width: 100%; height: 100%; object-fit: cover; }
.badge {
  position: absolute; top: 11px; right: 11px;
  background: rgba(11,14,12,.82); color: var(--cream);
  font-size: .76rem; font-weight: 600; padding: 5px 10px; border-radius: 999px;
  backdrop-filter: blur(4px);
}
.proj-body { padding: 16px 18px 18px; display: block; }
.proj-body .t {
  display: block; font-family: var(--f-display); font-size: 1.08rem;
  line-height: 1.25; margin: 0 0 4px; color: var(--ink);
}
.proj-body .cat { display: block; font-size: .84rem; color: var(--copper); font-weight: 500; }
.is-hidden { display: none !important; }

/* ---------- lightbox ---------- */
.lb[hidden] { display: none; }
.lb {
  position: fixed; inset: 0; z-index: 90;
  background: rgba(11,14,12,.94);
  display: flex; align-items: center; justify-content: center; padding: 20px;
}
.lb-inner { max-width: 920px; width: 100%; }
.lb-inner img { width: 100%; border-radius: var(--r); }
.lb-cap { color: var(--cream); margin-top: 14px; display: flex; justify-content: space-between; gap: 16px; font-size: .95rem; }
.lb-close {
  position: absolute; top: 16px; right: 18px; background: none; border: 1px solid var(--line-dark);
  color: var(--cream); font: inherit; padding: 8px 14px; cursor: pointer; border-radius: var(--r);
}

/* ---------- process (a real sequence, so it is numbered) ---------- */
.steps { counter-reset: s; display: grid; gap: 1px; background: var(--line-dark); border: 1px solid var(--line-dark); }
.step { background: var(--forest); padding: 26px 26px 24px; display: flex; gap: 20px; }
.step::before {
  counter-increment: s; content: counter(s);
  font-family: var(--f-display); font-size: 1.5rem; color: var(--copper-lit);
  line-height: 1; flex-shrink: 0; padding-top: 3px;
}
.step h3 { margin: 0 0 5px; }
.step p { margin: 0; font-size: .95rem; color: var(--muted-dark); }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(34px, 5vw, 64px); align-items: start; }
.field { margin-bottom: 17px; }
.field label { display: block; font-size: .9rem; font-weight: 600; margin-bottom: 6px; }
.field input, .field textarea, .field select {
  width: 100%; font: inherit; font-size: 1rem; padding: 12px 14px;
  border: 1px solid var(--line-light); border-radius: var(--r);
  background: #fff; color: var(--ink);
}
.field textarea { min-height: 142px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--forest); }
.form-note { font-size: .86rem; color: var(--muted); }

.deets { list-style: none; margin: 0; padding: 0; }
.deets li { padding: 16px 0; border-bottom: 1px solid var(--line-light); display: flex; gap: 16px; }
.deets li:first-child { padding-top: 0; }
.deets .k { font-size: .88rem; color: var(--muted); min-width: 92px; flex-shrink: 0; }
.deets a { text-decoration: none; font-weight: 500; }
.deets a:hover { color: var(--copper); }

/* ---------- accreditation strip ---------- */
.creds { display: flex; flex-wrap: wrap; gap: 12px 34px; align-items: center; }
.cred {
  font-size: .9rem; font-weight: 600; letter-spacing: .02em;
  color: var(--muted-dark); border: 1px solid var(--line-dark);
  padding: 9px 16px; border-radius: var(--r);
}

/* ---------- cta band ---------- */
.cta-band { text-align: center; }
.cta-band h2 { max-width: 20ch; margin-inline: auto; }
.cta-band p { margin-inline: auto; }
.cta-band .btn-row { justify-content: center; }

/* ---------- footer ---------- */
.foot { background: var(--black); color: var(--muted-dark); padding: 58px 0 0; font-size: .93rem; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.foot img.fmark { width: 182px; margin-bottom: 16px; }
.foot h4 { font-family: var(--f-ui); font-size: .82rem; letter-spacing: .09em; text-transform: uppercase; color: var(--cream); margin: 0 0 14px; font-weight: 700; }
.foot ul { list-style: none; margin: 0; padding: 0; }
.foot li { margin-bottom: 9px; }
.foot a { text-decoration: none; }
.foot a:hover { color: var(--cream); }
.foot-base {
  margin-top: 46px; border-top: 1px solid var(--line-dark); padding: 20px 0 26px;
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .85rem;
}

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .split, .split--narrow, .contact-grid { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .menu-btn { display: block; }
  .nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    background: var(--forest); flex-direction: column; align-items: stretch;
    gap: 0; padding: 8px 0 16px; border-top: 1px solid var(--line-dark);
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 13px var(--gut); }
  .nav a::after { display: none; }
  .nav .btn { margin: 10px var(--gut) 0; text-align: center; }
  .masthead { position: relative; }
  .masthead .wrap { position: relative; }
  .topbar .right { display: none; }
}
@media (max-width: 520px) {
  body { font-size: 16px; }
  .foot-grid { grid-template-columns: 1fr; }
  .btn { width: 100%; text-align: center; }
  .btn-row { flex-direction: column; }
}
