:root {
  --paper: #f3f0e9;
  --paper-soft: #faf8f3;
  --concrete: #d9d5cc;
  --line: rgba(34, 45, 52, 0.14);
  --ink: #1d2930;
  --ink-soft: #4c575d;
  --muted: #8c8a83;
  --white: #ffffff;
  --shadow: 0 24px 70px rgba(29, 41, 48, 0.12);
  --radius: 8px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  overflow-x: hidden;
  background:
    linear-gradient(rgba(29, 41, 48, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(29, 41, 48, 0.03) 1px, transparent 1px),
    radial-gradient(circle at 16% 10%, rgba(255, 255, 255, 0.9), transparent 34%),
    var(--paper);
  background-size: 72px 72px, 72px 72px, auto, auto;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  content: "";
  opacity: 0.72;
  background:
    linear-gradient(120deg, transparent 0 62%, rgba(29, 41, 48, 0.045) 62% 62.3%, transparent 62.3%),
    linear-gradient(150deg, transparent 0 70%, rgba(29, 41, 48, 0.04) 70% 70.25%, transparent 70.25%),
    linear-gradient(90deg, transparent 0 82%, rgba(29, 41, 48, 0.035) 82% 82.2%, transparent 82.2%);
}

a {
  color: inherit;
  text-decoration: none;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  gap: 28px;
  align-items: center;
  width: min(calc(100% - 32px), var(--max));
  margin: 16px auto 0;
  padding: 14px 16px;
  border: 1px solid rgba(29, 41, 48, 0.12);
  border-radius: var(--radius);
  background: rgba(250, 248, 243, 0.86);
  box-shadow: 0 14px 50px rgba(29, 41, 48, 0.08);
  backdrop-filter: blur(16px);
}

.brand,
.footer-brand {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  width: 112px;
  line-height: 1;
}

.brand img,
.footer-brand img {
  width: 100%;
  height: auto;
  mix-blend-mode: multiply;
}

.brand span,
.footer-brand span {
  width: 100%;
  margin-top: -10px;
  color: var(--ink);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.46em;
  text-align: center;
}

.nav {
  display: flex;
  justify-content: center;
  gap: 28px;
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 600;
}

.nav a,
.footer-links a {
  transition: color 180ms ease;
}

.nav a:hover,
.footer-links a:hover {
  color: var(--ink);
}

.header-cta,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border: 1px solid var(--ink);
  border-radius: var(--radius);
  font-weight: 700;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease, border-color 180ms ease;
}

.header-cta,
.btn-dark {
  color: var(--paper-soft);
  background: var(--ink);
}

.header-cta:hover,
.btn:hover {
  transform: translateY(-2px);
}

.btn-ghost {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.24);
}

.btn-ghost:hover {
  background: var(--white);
}

.btn-light {
  color: var(--ink);
  border-color: rgba(255, 255, 255, 0.76);
  background: var(--paper-soft);
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: transparent;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--ink);
}

.section,
.section-grid,
.hero {
  width: min(calc(100% - 32px), var(--max));
  margin: 0 auto;
}

.section {
  padding: 96px 0;
}

.section-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.82fr);
  gap: 56px;
  align-items: center;
}

.hero {
  min-height: auto;
  padding: 104px 0 92px;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 790px;
  margin-bottom: 26px;
  font-size: clamp(48px, 8vw, 104px);
  line-height: 0.95;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

h2 {
  margin-bottom: 22px;
  font-size: clamp(34px, 5vw, 64px);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 20px;
}

p {
  color: var(--ink-soft);
  line-height: 1.75;
}

.hero-text {
  max-width: 650px;
  font-size: 19px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.hero-visual {
  position: relative;
  min-height: 560px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--paper-soft);
  box-shadow: var(--shadow);
}

.hero-visual::before,
.hero-visual::after,
.project-media::before,
.cta::before {
  position: absolute;
  content: "";
}

.hero-visual::before {
  inset: 26px;
  border: 1px solid rgba(29, 41, 48, 0.13);
  border-right: 0;
  border-bottom: 0;
}

.hero-visual::after {
  right: 48px;
  bottom: 44px;
  width: 40%;
  height: 52%;
  border: 1px solid rgba(29, 41, 48, 0.22);
  transform: skewY(-18deg);
}

.hero-visual img {
  width: 100%;
  height: 100%;
  min-height: 560px;
  object-fit: cover;
  object-position: center;
  opacity: 0.88;
  filter: grayscale(0.45) contrast(0.95) saturate(0.78);
}

.visual-panel {
  position: absolute;
  left: 24px;
  bottom: 24px;
  display: flex;
  gap: 44px;
  align-items: end;
  padding: 18px;
  border: 1px solid rgba(29, 41, 48, 0.16);
  background: rgba(250, 248, 243, 0.86);
  backdrop-filter: blur(10px);
}

.visual-panel span {
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
}

.visual-panel strong {
  font-size: 42px;
}

.section-head {
  display: grid;
  grid-template-columns: 0.62fr 1fr;
  gap: 42px;
  align-items: end;
  margin-bottom: 36px;
  border-bottom: 1px solid var(--line);
}

.section-head h2 {
  max-width: 760px;
}

.featured-project-card {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.72fr);
  gap: 16px;
  align-items: stretch;
}

.featured-project-main,
.featured-project-copy,
.featured-project-gallery figure {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(250, 248, 243, 0.72);
  box-shadow: 0 16px 42px rgba(29, 41, 48, 0.06);
}

.featured-project-main {
  min-height: 560px;
  overflow: hidden;
}

.featured-project-main img,
.featured-project-gallery img,
.image-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.featured-project-main img {
  object-position: 50% 52%;
}

.featured-project-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 34px;
}

.project-status {
  width: fit-content;
  margin-bottom: 22px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.48);
}

.featured-project-copy h3 {
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.08;
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.project-tags span {
  padding: 9px 11px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink-soft);
  font-size: 12px;
  font-weight: 800;
  background: rgba(255, 255, 255, 0.4);
}

.featured-project-gallery {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.featured-project-gallery figure {
  overflow: hidden;
  margin: 0;
}

.featured-project-gallery img {
  aspect-ratio: 16 / 10;
  filter: saturate(0.88) contrast(0.96);
}

.featured-project-gallery figcaption {
  padding: 14px 18px 16px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 800;
}

.service-grid,
.project-grid,
.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.service-grid {
  grid-template-columns: repeat(3, 1fr);
}

.service-card,
.value-card,
.project-card,
.timeline-card,
.contact-form {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(250, 248, 243, 0.72);
  box-shadow: 0 16px 42px rgba(29, 41, 48, 0.06);
}

.service-card {
  min-height: 250px;
  padding: 28px;
}

.service-card svg {
  width: 42px;
  height: 42px;
  margin-bottom: 38px;
  fill: none;
  stroke: var(--ink);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.5;
}

.service-card::after,
.value-card::after {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 28px;
  height: 28px;
  border-top: 1px solid var(--line);
  border-right: 1px solid var(--line);
  content: "";
}

.about {
  align-items: start;
  padding: 96px 0;
}

.about-copy {
  position: sticky;
  top: 130px;
}

.about-copy p {
  max-width: 610px;
  font-size: 18px;
}

.value-grid {
  display: grid;
  gap: 16px;
}

.value-card {
  padding: 28px;
}

.value-card span,
.timeline-card span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-bottom: 34px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--ink);
  font-weight: 800;
}

.project-card {
  overflow: hidden;
}

.project-card > div:last-child {
  padding: 22px;
}

.project-card a {
  display: inline-flex;
  margin-top: 12px;
  color: var(--ink);
  font-weight: 800;
}

.project-media {
  position: relative;
  min-height: 240px;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(29, 41, 48, 0.04) 25%, transparent 25%) 0 0 / 28px 28px,
    linear-gradient(135deg, transparent 75%, rgba(29, 41, 48, 0.05) 75%) 0 0 / 28px 28px,
    var(--concrete);
}

.project-media::before {
  inset: 20px;
  border: 1px solid rgba(29, 41, 48, 0.2);
}

.project-media::after {
  position: absolute;
  inset: 34px 28px;
  border-top: 8px solid rgba(29, 41, 48, 0.42);
  border-right: 1px solid rgba(29, 41, 48, 0.2);
  border-bottom: 1px solid rgba(29, 41, 48, 0.16);
  border-left: 1px solid rgba(29, 41, 48, 0.16);
  content: "";
}

.image-media {
  min-height: 260px;
}

.image-media::before,
.image-media::after {
  display: none;
}

.image-media img {
  filter: saturate(0.86) contrast(0.96);
  transition: transform 420ms ease;
}

.project-card:hover .image-media img {
  transform: scale(1.035);
}

.media-cafe {
  background:
    linear-gradient(90deg, transparent 0 20%, rgba(29, 41, 48, 0.16) 20% 21%, transparent 21%),
    linear-gradient(0deg, transparent 0 52%, rgba(29, 41, 48, 0.12) 52% 53%, transparent 53%),
    radial-gradient(circle at 68% 58%, rgba(255, 255, 255, 0.52) 0 9%, transparent 9%),
    #d7d2c8;
}

.media-store {
  background:
    linear-gradient(90deg, transparent 0 32%, rgba(29, 41, 48, 0.14) 32% 33%, transparent 33% 66%, rgba(29, 41, 48, 0.14) 66% 67%, transparent 67%),
    linear-gradient(0deg, transparent 0 38%, rgba(255, 255, 255, 0.46) 38% 40%, transparent 40%),
    #c8cbc9;
}

.media-home {
  background:
    linear-gradient(135deg, transparent 0 44%, rgba(29, 41, 48, 0.13) 44% 44.5%, transparent 44.5%),
    linear-gradient(90deg, transparent 0 58%, rgba(29, 41, 48, 0.15) 58% 59%, transparent 59%),
    #e0ddd5;
}

.media-structure {
  background:
    repeating-linear-gradient(90deg, transparent 0 31px, rgba(29, 41, 48, 0.11) 31px 32px),
    repeating-linear-gradient(0deg, transparent 0 38px, rgba(29, 41, 48, 0.1) 38px 39px),
    linear-gradient(135deg, rgba(255, 255, 255, 0.52), transparent),
    #d2d4d0;
}

.timeline {
  position: relative;
}

.timeline::before {
  position: absolute;
  top: 52px;
  left: 4%;
  right: 4%;
  height: 1px;
  background: var(--line);
  content: "";
}

.timeline-card {
  padding: 28px;
}

.cta {
  position: relative;
  width: min(calc(100% - 32px), var(--max));
  margin: 34px auto;
  padding: 74px;
  overflow: hidden;
  border-radius: var(--radius);
  color: var(--paper-soft);
  background: var(--ink);
}

.cta::before {
  right: -80px;
  bottom: -160px;
  width: 520px;
  height: 520px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  transform: rotate(32deg);
}

.cta h2 {
  max-width: 760px;
}

.cta p {
  max-width: 620px;
  color: rgba(250, 248, 243, 0.78);
}

.contact {
  align-items: start;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.48fr) minmax(420px, 0.72fr);
  gap: 16px;
  align-items: start;
  max-width: 980px;
  margin: 0 auto;
}

.contact-card {
  display: grid;
  gap: 22px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(250, 248, 243, 0.72);
  box-shadow: 0 16px 42px rgba(29, 41, 48, 0.06);
}

.contact-card h2 {
  margin-bottom: 0;
  font-size: clamp(32px, 4vw, 48px);
}

.contact-methods {
  display: grid;
  gap: 14px;
}

.contact-method {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 14px;
  align-items: start;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.contact-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 50%;
}

.contact-icon svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: var(--ink);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.contact-method strong,
.contact-method a {
  display: block;
}

.contact-method strong {
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.contact-method a {
  width: fit-content;
  padding: 3px 0;
  color: var(--ink);
  font-weight: 800;
  overflow-wrap: anywhere;
}

.contact-method a:hover,
.footer-links a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.contact-form {
  display: grid;
  gap: 18px;
  max-width: 720px;
  margin: 0;
  padding: 28px;
}

.hidden-field {
  display: none;
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(29, 41, 48, 0.16);
  border-radius: var(--radius);
  padding: 15px 14px;
  color: var(--ink);
  font: inherit;
  background: rgba(255, 255, 255, 0.52);
  outline: none;
  transition: border-color 160ms ease, background 160ms ease;
}

.consent-field {
  grid-template-columns: 20px 1fr;
  align-items: start;
  gap: 12px;
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.55;
}

.consent-field input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--ink);
}

.consent-field a {
  color: var(--ink);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--ink);
  background: var(--white);
}

.form-note {
  min-height: 24px;
  margin: 0;
  font-size: 14px;
}

.form-help {
  margin: -4px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.form-help a,
.kvkk-panel a {
  color: var(--ink);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.kvkk {
  padding-top: 0;
}

.kvkk-panel {
  max-width: 860px;
  margin: 0 auto;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(250, 248, 243, 0.72);
}

.kvkk-panel h2 {
  font-size: clamp(28px, 4vw, 44px);
}

.kvkk-panel small {
  display: block;
  color: var(--muted);
  line-height: 1.7;
}

.thanks-page {
  display: grid;
  min-height: 100vh;
  place-items: center;
  padding: 24px;
}

.thanks-card {
  display: grid;
  gap: 18px;
  width: min(100%, 620px);
  padding: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(250, 248, 243, 0.86);
  box-shadow: var(--shadow);
}

.thanks-card h1 {
  margin: 12px 0 0;
  font-size: clamp(42px, 8vw, 72px);
}

.site-footer {
  display: grid;
  gap: 18px;
  width: min(calc(100% - 32px), var(--max));
  margin: 0 auto 24px;
  padding: 40px 0 12px;
  border-top: 1px solid var(--line);
}

.footer-brand {
  width: 136px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  color: var(--ink-soft);
}

.site-footer small {
  color: var(--muted);
}

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 650ms ease, transform 650ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: auto 1fr auto;
  }

  .nav {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    left: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(250, 248, 243, 0.98);
    box-shadow: var(--shadow);
  }

  .nav.is-open {
    display: flex;
  }

  .nav a {
    padding: 14px;
  }

  .header-cta {
    justify-self: end;
  }

  .menu-toggle {
    display: block;
  }

  .section-grid {
    grid-template-columns: 1fr;
  }

  .contact-layout {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 72px;
  }

  .hero-visual,
  .hero-visual img {
    min-height: 420px;
  }

  .section-head {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .featured-project-card {
    grid-template-columns: 1fr;
  }

  .featured-project-main {
    min-height: 420px;
  }

  .service-grid,
  .project-grid,
  .timeline {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-copy {
    position: static;
  }

  .timeline::before {
    display: none;
  }
}

@media (max-width: 680px) {
  body::before {
    background-size: 420px;
    opacity: 0.14;
  }

  .site-header {
    width: min(calc(100% - 20px), var(--max));
    grid-template-columns: auto 1fr auto;
    gap: 12px;
    margin-top: 10px;
  }

  .brand,
  .footer-brand {
    width: 98px;
  }

  .brand span,
  .footer-brand span {
    margin-top: -8px;
    font-size: 10px;
  }

  .header-cta {
    display: none;
  }

  .section,
  .section-grid,
  .hero,
  .cta,
  .site-footer {
    width: min(calc(100% - 20px), var(--max));
  }

  .section {
    padding: 64px 0;
  }

  .hero {
    padding: 58px 0 56px;
  }

  h1 {
    font-size: clamp(36px, 11.5vw, 46px);
    line-height: 1;
  }

  h2 {
    font-size: clamp(28px, 8vw, 32px);
    line-height: 1.08;
  }

  .section-head h2,
  .featured-project-copy h3,
  .contact-card h2 {
    overflow-wrap: anywhere;
  }

  .hero-text {
    font-size: 17px;
  }

  .hero-actions,
  .footer-links {
    flex-direction: column;
    align-items: stretch;
  }

  .btn {
    width: 100%;
  }

  .hero-visual,
  .hero-visual img {
    min-height: 340px;
  }

  .visual-panel {
    right: 16px;
    left: 16px;
    bottom: 16px;
    justify-content: space-between;
    gap: 18px;
  }

  .visual-panel strong {
    font-size: 34px;
  }

  .service-grid,
  .project-grid,
  .timeline {
    grid-template-columns: 1fr;
  }

  .featured-project-main {
    min-height: 320px;
  }

  .featured-project-copy,
  .contact-card,
  .contact-form,
  .kvkk-panel,
  .thanks-card {
    padding: 24px;
  }

  .featured-project-copy h3 {
    font-size: 24px;
    line-height: 1.12;
  }

  .featured-project-gallery {
    grid-template-columns: 1fr;
  }

  .featured-project-gallery img {
    aspect-ratio: 4 / 3;
  }

  .service-card {
    min-height: auto;
  }

  .project-media {
    min-height: 210px;
  }

  .cta {
    padding: 44px 24px;
  }

}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
