:root {
  color-scheme: light;
  font-family: "Manrope", "Avenir Next", system-ui, sans-serif;
  font-synthesis: none;
  --page: #f6f5f1;
  --surface: #fff;
  --ink: #212721;
  --muted: #505b52;
  --line: #d9ded7;
  --accent: #244d39;
  --button-ink: #fff;
  --tint: #e6ece4;
  --display: "Manrope", "Avenir Next", system-ui, sans-serif;
  --serif: "Cormorant Garamond", Georgia, serif;
  --pad: clamp(1.25rem, 4vw, 4rem);
}

@font-face {
  font-family: Manrope;
  src: url("manrope.woff2") format("woff2");
  font-weight: 400 800;
  font-display: swap;
}

@font-face {
  font-family: "Cormorant Garamond";
  src: url("cormorant.woff2") format("woff2");
  font-weight: 500 700;
  font-display: swap;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--page); color: var(--ink); font-size: 1rem; line-height: 1.6; }
img { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; }
a { color: inherit; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 4px;
}
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { line-height: 1.12; letter-spacing: -.045em; }
h1, h2 { font-family: var(--display); text-wrap: balance; }
h1 { font-size: clamp(2.8rem, 6.1vw, 6.2rem); }
h2 { font-size: clamp(2rem, 3.6vw, 3.7rem); }
h3 { font-size: 1.22rem; letter-spacing: -.035em; }
[hidden] { display: none !important; }
section[id] { scroll-margin-top: 1.5rem; }

[data-brand="trend"] {
  color-scheme: dark;
  --page: #111316;
  --surface: #1b1e22;
  --ink: #f9f8f4;
  --muted: #c4c4c0;
  --line: #42464a;
  --accent: #ffc267;
  --button-ink: #20180d;
  --tint: #2c2520;
}

[data-brand="kaan"] {
  --page: #f7f4ff;
  --surface: #fff;
  --ink: #28243a;
  --muted: #554c68;
  --line: #dcd5ee;
  --accent: #4d318a;
  --tint: #ece5fb;
}

[data-brand="seren"] {
  --page: #fcf4ef;
  --surface: #fffaf7;
  --ink: #371a27;
  --muted: #69505a;
  --line: #e9d4d4;
  --accent: #7b2543;
  --tint: #f0dce0;
  --display: var(--serif);
}

[data-brand="bersu"] { --display: var(--serif); }

[data-brand="olculu"] {
  --page: #f0f6f5;
  --ink: #203638;
  --muted: #496060;
  --line: #ccdcdc;
  --accent: #245460;
  --tint: #dcebee;
}
[data-brand="legawash"] {
  color-scheme: dark;
  --page: #121b23;
  --surface: #1a2933;
  --ink: #ecfbf8;
  --muted: #b6ccc9;
  --line: #3b515e;
  --accent: #8debdc;
  --button-ink: #112a2c;
  --tint: #1d343e;
}
[data-brand="icoz"] {
  --page: #f1eee8;
  --surface: #fffdf8;
  --ink: #29251f;
  --muted: #61574c;
  --line: #d9d0c0;
  --accent: #624a35;
  --tint: #e6ded0;
  --display: var(--serif);
}
[data-brand="shine"] {
  --page: #faf4f7;
  --surface: #fffcfd;
  --ink: #492c44;
  --muted: #6b5064;
  --line: #e6d2df;
  --accent: #783c62;
  --tint: #f2e3ec;
  --display: var(--serif);
}
[data-brand="umay"] {
  --page: #eff8f5;
  --ink: #1f3f3c;
  --muted: #395d58;
  --line: #c9ddd6;
  --accent: #215e58;
  --tint: #dceee7;
  --display: var(--serif);
}
[data-brand="klasik"] {
  --page: #faf3e9;
  --surface: #fffaf4;
  --ink: #3c2c21;
  --muted: #654f40;
  --line: #e3d2bf;
  --accent: #794631;
  --tint: #edddd0;
  --display: var(--serif);
}

.wrap {
  width: min(100%, 88rem);
  margin-inline: auto;
  padding-inline: var(--pad);
}

.preview-notice {
  background: var(--tint);
  color: var(--ink);
  text-align: center;
  padding: .42rem var(--pad);
  font-size: .875rem;
  font-weight: 700;
}

.skip-link {
  position: fixed;
  z-index: 5;
  inset: .75rem auto auto .75rem;
  padding: .7rem 1rem;
  transform: translateY(-200%);
  background: var(--surface);
}
.skip-link:focus { transform: none; }

.site-header { border-bottom: 1px solid var(--line); }
.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  min-height: 5rem;
  padding-block: .75rem;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: .72rem;
  line-height: 1.15;
  text-decoration: none;
  font-size: 1.12rem;
  font-weight: 800;
  letter-spacing: -.035em;
}
.brand-mark {
  display: grid;
  place-items: center;
  flex: 0 0 2.5rem;
  block-size: 2.5rem;
  background: var(--accent);
  color: var(--button-ink);
  border-radius: .65rem;
  font-size: .98rem;
}
[data-brand="kaan"] .brand-mark { border-radius: 50%; }
[data-brand="seren"] .brand-mark { border-radius: 50% 50% .3rem .3rem; }
.brand small { display: block; margin-top: .15rem; font-size: .875rem; color: var(--muted); font-weight: 600; }
.header-nav { display: flex; align-items: center; gap: clamp(.75rem, 2.4vw, 2rem); }
.header-nav a { font-size: .95rem; font-weight: 700; text-decoration: none; }
.header-nav a:hover { text-decoration: underline; text-underline-offset: .25em; }
.header-nav .header-action { border: 1px solid var(--line); border-radius: 10rem; padding: .5rem .9rem; }

.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: .5rem;
  background: var(--accent);
  color: var(--button-ink);
  border: 1px solid transparent;
  border-radius: .65rem;
  min-height: 3.05rem;
  padding: .65rem 1.1rem;
  cursor: pointer;
  font-weight: 800;
  text-decoration: none;
  line-height: 1.18;
}
.button:hover { filter: brightness(1.09); }
.button.secondary { background: transparent; color: var(--ink); border-color: var(--line); }

.hero { position: relative; isolation: isolate; overflow: hidden; margin-top: clamp(1rem, 3vw, 2.25rem); }
.hero-copy { position: relative; z-index: 1; }
.hero-copy p:not(.area) { max-width: 31rem; font-size: clamp(1rem, 1.6vw, 1.15rem); margin-top: 1.1rem; color: var(--muted); }
.hero-copy .button { margin-top: 1.55rem; }
.area {
  font-size: .875rem;
  font-weight: 800;
  letter-spacing: .095em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: .65rem;
}
.hero-photo { position: relative; overflow: hidden; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.hero-photo figcaption {
  position: absolute;
  inset: auto .8rem .8rem auto;
  padding: .24rem .55rem;
  background: #151619e8;
  color: #fff;
  font-size: .84rem;
  border-radius: .25rem;
}
.hero-photo figcaption a { text-underline-offset: .18em; }
.hero-overlay {
  min-height: clamp(29rem, 47vw, 41rem);
  display: grid;
  align-items: center;
  border-radius: 1.1rem;
  background: #202127;
  color: #fff9f6;
}
.hero-overlay .hero-photo { position: absolute; inset: 0; }
.hero-overlay .hero-photo img { object-position: 62% center; }
.hero-overlay::after {
  position: absolute;
  z-index: 0;
  inset: 0;
  content: "";
  background: linear-gradient(90deg, #0c0e12f2 3%, #101115d9 33%, #11121876 64%, transparent 100%);
}
.hero-overlay figcaption { z-index: 2; }
.hero-overlay .hero-copy { padding: clamp(1.4rem, 4.5vw, 4.4rem); }
.hero-overlay .hero-copy p:not(.area) { color: #f4efeb; }
.hero-overlay h1 { max-width: 52rem; }
[data-brand="trend"] .hero h1 span { color: var(--accent); }
[data-brand="seren"] .hero-overlay { background: #4a182a; }
[data-brand="seren"] .hero-overlay::after {
  background: linear-gradient(90deg, #361221f5 1%, #3a1421db 35%, #3b14226b 67%, #3b142210 100%);
}
[data-brand="seren"] .hero-overlay .area { color: #ffdbcf; }
[data-brand="seren"] .hero-overlay .button { background: #f9e3d9; color: #522337; }
[data-brand="seren"] .hero-overlay h1 { max-width: 42rem; }
[data-brand="legawash"] .hero-overlay::after {
  background: linear-gradient(90deg, #10232ef2 3%, #12262fe3 44%, #162a3270 75%, #162a3218 100%);
}

.hero-split {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  gap: clamp(1.5rem, 3.6vw, 4rem);
  align-items: center;
  background: var(--tint);
  border-radius: 1.1rem;
  padding: clamp(1.15rem, 3vw, 2.8rem);
}
.hero-split .hero-copy { padding: clamp(.2rem, 1.8vw, 1.5rem); }
.hero-split .hero-photo { border-radius: .85rem; aspect-ratio: 5 / 4; background: var(--line); }
[data-brand="kaan"] .hero-split h1 { font-size: clamp(2.75rem, 5.3vw, 5.3rem); }
[data-brand="kaan"] .hero-photo img {
  height: 120%;
  object-position: 78% center;
  transform: translateY(-16.667%);
}
[data-brand="bersu"] .hero-photo img, [data-brand="umay"] .hero-photo img {
  width: 128%;
  max-width: none;
  transform: translateX(-21.875%);
}
.hero-architecture { display: grid; gap: 1.4rem; }
.hero-architecture .hero-copy {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, .65fr);
  gap: clamp(1rem, 3vw, 3rem);
  align-items: end;
  padding-block: 1.1rem .25rem;
}
.hero-architecture .hero-copy p:not(.area) { margin-top: 0; }
.hero-architecture .hero-photo { height: clamp(19rem, 39vw, 32rem); border-radius: .85rem; background: var(--line); }
.hero-architecture .hero-photo img { object-position: center 54%; }

.section { padding-block: clamp(2.7rem, 6vw, 5.4rem); }
.section + .section { border-top: 1px solid var(--line); }
.section-top { display: flex; align-items: end; justify-content: space-between; gap: 1rem; margin-bottom: 1.35rem; }
.section-top > p { max-width: 24rem; color: var(--muted); }
.cards {
  display: grid;
  grid-template-columns: repeat(var(--columns, 3), minmax(0, 1fr));
  gap: .85rem;
  align-items: stretch;
}
.service {
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: .65rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: .85rem;
  padding: clamp(1rem, 2.1vw, 1.65rem);
}
.service p { color: var(--muted); }
.service-action {
  padding: 0;
  margin-top: auto;
  border: 0;
  color: var(--accent);
  background: none;
  font-weight: 800;
  text-align: start;
  text-underline-offset: .22em;
  text-decoration: underline;
  cursor: pointer;
}
.work-photos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .95rem; }
.work-photos:has(> figure:only-child) { grid-template-columns: minmax(0, 48rem); }
.work-photo { border: 1px solid var(--line); background: var(--surface); border-radius: .85rem; overflow: hidden; }
.work-photo img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; background: var(--tint); }
[data-brand="seren"] .work-photo img { object-position: center 35%; }
.work-photo figcaption { padding: .7rem .95rem; font-size: .9rem; color: var(--muted); }
.work-photo figcaption a { text-underline-offset: .18em; }

.request-layout {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  gap: clamp(1.6rem, 6vw, 5.5rem);
}
.request-intro { padding-block: .65rem; }
.request-intro p:not(.area) { margin-top: .7rem; max-width: 24rem; color: var(--muted); }
.request-form {
  min-width: 0;
  padding: clamp(1rem, 3vw, 2rem);
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: var(--surface);
}
.form-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .95rem; }
.field { min-width: 0; }
.field--wide { grid-column: 1 / -1; }
.field label { display: block; font-size: .92rem; font-weight: 800; margin-bottom: .32rem; }
.field input, .field select {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  min-height: 2.95rem;
  padding: .55rem .74rem;
  font-size: 1rem;
  color: var(--ink);
  background: var(--page);
  border: 1px solid var(--line);
  border-radius: .55rem;
}
.field select {
  appearance: none;
  padding-right: 2.1rem;
  background-image: linear-gradient(45deg, transparent 50%, currentColor 50%), linear-gradient(135deg, currentColor 50%, transparent 50%);
  background-position: right 1.03rem center, right .73rem center;
  background-size: .3rem .3rem;
  background-repeat: no-repeat;
}
.field input[type="file"] { padding: .4rem .5rem; overflow: hidden; }
.field input::file-selector-button {
  padding: .32rem .55rem;
  margin-right: .45rem;
  border: 1px solid var(--line);
  border-radius: .3rem;
  background: var(--tint);
  color: var(--ink);
  cursor: pointer;
}
.field input::placeholder { color: var(--muted); }
.request-form > .button { margin-top: 1rem; }
.form-note { margin-top: .75rem; color: var(--muted); font-size: .9rem; }
.form-result {
  margin-top: 1.1rem;
  padding: .9rem 1rem;
  background: var(--tint);
  border: 1px solid var(--line);
  border-radius: .65rem;
}
.form-result p { white-space: pre-wrap; overflow-wrap: anywhere; margin-top: .35rem; }

.site-footer { border-top: 1px solid var(--line); padding-block: 1.5rem; }
.footer-inner { display: flex; justify-content: space-between; align-items: start; flex-wrap: wrap; gap: 1rem; }
.site-footer address { font-style: normal; color: var(--muted); margin-top: .25rem; }
.footer-links { display: flex; flex-wrap: wrap; gap: .8rem 1.25rem; font-weight: 700; }
.footer-links a { text-underline-offset: .23em; }

.directory { max-width: 80rem; padding-block: clamp(2rem, 5vh, 5rem); }
.directory-intro { margin: .65rem 0 1.75rem; color: var(--muted); }
.directory h1 { font-size: clamp(2.5rem, 5vw, 4.65rem); }
.project-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.project-card {
  display: grid;
  grid-template-rows: auto 1fr;
  border: 1px solid var(--line);
  border-radius: .95rem;
  overflow: hidden;
  text-decoration: none;
  background: var(--surface);
}
.project-card img { width: 100%; height: clamp(9rem, 19vw, 14rem); object-fit: cover; background: var(--tint); }
.project-card span { display: block; padding: .85rem 1rem 1.05rem; }
.project-card strong { font-size: 1.15rem; }
.project-card small { display: block; font-size: .9rem; color: var(--muted); }
.project-card:hover strong { text-decoration: underline; text-underline-offset: .2em; }

@media (max-width: 58rem) {
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .project-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-overlay .hero-photo img { object-position: 67% center; }
}
@media (max-width: 42rem) {
  .header-inner { min-height: 4.25rem; }
  .brand { gap: .48rem; font-size: .98rem; }
  .brand-mark { flex-basis: 2.12rem; block-size: 2.12rem; font-size: .85rem; }
  .brand small { font-size: .78rem; }
  .header-nav .header-section { display: none; }
  .header-nav .header-action { white-space: nowrap; font-size: .85rem; padding: .35rem .65rem; }
  .hero-overlay { min-height: 32rem; align-items: end; }
  .hero-overlay .hero-copy { padding: 1.25rem 1.25rem 2.5rem; }
  .hero-overlay::after { background: linear-gradient(0deg, #0c0e12 1%, #111319e8 30%, #11131919 84%); }
  [data-brand="seren"] .hero-overlay::after { background: linear-gradient(0deg, #351221 5%, #351221e8 33%, #35122110 90%); }
  [data-brand="legawash"] .hero-overlay::after { background: linear-gradient(0deg, #10232e 4%, #10232ef0 34%, #10232e16 86%); }
  .hero-split, .hero-architecture .hero-copy, .request-layout, .section-top { display: grid; grid-template-columns: minmax(0, 1fr); }
  .hero-split .hero-photo { aspect-ratio: 4 / 3; }
  .hero-architecture { gap: 1rem; }
  .hero-architecture .hero-copy { gap: .65rem; }
  .hero-architecture .hero-photo { height: auto; aspect-ratio: 4 / 3; }
  .request-layout { gap: .75rem; }
  .cards, .work-photos, .project-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 29rem) {
  .form-fields { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
