/* Toprak Çömlek Atölyesi — sır karoları, çark izleri, damlayan kaolin */

:root {
  --kaolin: #F5F1E8;
  --kaolin-2: #EAE2D0;
  --cream: #FFFBF2;
  --kobalt: #1B3A9C;
  --kobalt-deep: #122A78;
  --tenmoku: #2E1A12;
  --hardal: #D99A2B;
  --hardal-soft: #F1D58E;
  --mavi-soft: #D8E0F5;
  --demir: #9C3A1C;
  --muted: #5B4638;
  --display: "Palatino Linotype", Palatino, "Book Antiqua", "URW Palladio L", Georgia, serif;
  --text: "Franklin Gothic Book", "Franklin Gothic Medium", "Libre Franklin", "Segoe UI", Arial, sans-serif;
  --focus: var(--kobalt);
  --pad: max(1.1rem, 4vw, calc((100% - 1320px) / 2));
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--kaolin);
  color: var(--tenmoku);
  font-family: var(--text);
  font-size: 1.0625rem;
  line-height: 1.65;
  overflow-x: hidden;
}

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

h1, h2, h3 { font-family: var(--display); line-height: 1.08; margin: 0 0 1rem; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.5rem, 6.2vw, 5.2rem); font-weight: 700; }
h2 { font-size: clamp(2rem, 4.4vw, 3.7rem); font-weight: 700; }
h3 { font-size: clamp(1.3rem, 2vw, 1.6rem); font-weight: 700; }
h1 em, h2 em { font-style: italic; color: var(--kobalt); }
p { margin: 0 0 1rem; max-width: 62ch; }

a { color: inherit; text-underline-offset: 0.2em; }

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

.eyebrow {
  font-family: var(--text);
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--demir);
  margin-bottom: 1rem;
}

main section {
  position: relative;
  padding: clamp(3.5rem, 8vw, 7rem) var(--pad);
  scroll-margin-top: 4.5rem;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.7rem 1.6rem;
  border: 2px solid var(--tenmoku);
  border-radius: 999px;
  font: 700 1rem/1.2 var(--text);
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.btn-primary { background: var(--kobalt); color: var(--kaolin); box-shadow: 4px 4px 0 var(--tenmoku); }
.btn-ghost { background: transparent; color: var(--tenmoku); }
.btn-dark { background: var(--tenmoku); color: var(--hardal-soft); border-color: var(--tenmoku); }
.btn:hover { transform: translate(-2px, -2px); }
.btn-primary:hover { box-shadow: 6px 6px 0 var(--tenmoku); }
.btn-ghost:hover { background: var(--kaolin-2); }
.btn-dark:hover { background: var(--kobalt-deep); }

.actions { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-top: 1.6rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--kaolin);
  border-bottom: 2px solid var(--tenmoku);
}
.header-inner {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0.65rem clamp(1rem, 3vw, 2.5rem);
}
.brand { display: inline-flex; align-items: center; gap: 0.65rem; text-decoration: none; }
.brand-mark { flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-text strong { font-family: var(--display); font-size: 1.4rem; }
.brand-text span { font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; }

.nav { display: flex; align-items: center; flex-wrap: wrap; gap: 0.15rem; margin-left: auto; }
.nav a { padding: 0.5rem 0.8rem; text-decoration: none; font-weight: 600; border-radius: 999px; }
.nav a:hover { background: var(--kaolin-2); }
.nav .nav-cta { background: var(--kobalt); color: var(--kaolin); margin-left: 0.5rem; padding: 0.55rem 1.1rem; }
.nav .nav-cta:hover { background: var(--kobalt-deep); }

.menu-toggle {
  display: none;
  align-items: center;
  gap: 0.6rem;
  min-height: 2.75rem;
  margin-left: auto;
  padding: 0.5rem 1rem;
  background: transparent;
  color: var(--tenmoku);
  border: 2px solid var(--tenmoku);
  border-radius: 999px;
  font: 700 0.95rem var(--text);
  cursor: pointer;
}
.menu-toggle-bars, .menu-toggle-bars::before {
  display: block;
  width: 1.1rem;
  height: 2px;
  background: currentColor;
  position: relative;
}
.menu-toggle-bars::before { content: ""; position: absolute; top: -5px; left: 0; box-shadow: 0 10px 0 currentColor; }

@media (max-width: 64rem) {
  .js .menu-toggle { display: inline-flex; }
  .js .nav { display: none; flex-basis: 100%; flex-direction: column; align-items: stretch; margin: 0; padding: 0.5rem 0 0.75rem; }
  .js .nav.is-open { display: flex; }
  .js .nav a { padding: 0.85rem 0.5rem; border-bottom: 1px solid var(--kaolin-2); border-radius: 0; }
  .js .nav .nav-cta { margin: 0.75rem 0 0; text-align: center; border-radius: 999px; border-bottom: 0; }
  .nav { margin-left: 0; flex-basis: 100%; }
}

/* ---------- Hero ---------- */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
  padding-bottom: clamp(5rem, 9vw, 8rem);
  background: var(--kaolin);
  z-index: 2;
}
.hero-copy .lead { font-size: clamp(1.1rem, 1.5vw, 1.3rem); max-width: 40ch; }
.hero h1 { max-width: 14ch; }

.hero-visual { position: relative; padding-right: 14px; padding-bottom: 14px; }
.hero-photo {
  margin: 0;
  border: 2px solid var(--tenmoku);
  border-radius: 999px 999px 1.5rem 1.5rem;
  overflow: hidden;
  box-shadow: 14px 14px 0 var(--kobalt);
  background: var(--kaolin-2);
}
.hero-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 55%; }

.wheel {
  position: absolute;
  left: -2.5rem;
  bottom: -1.5rem;
  width: clamp(150px, 15vw, 210px);
  padding: 0.7rem 0.7rem 0.8rem;
  background: var(--cream);
  border: 2px solid var(--tenmoku);
  border-radius: 1.4rem 1.4rem 1.4rem 0.3rem;
  box-shadow: 6px 6px 0 var(--tenmoku);
  touch-action: pan-y;
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
}
.wheel svg { width: 100%; height: auto; display: block; }
.wheel-hint { margin: 0.4rem 0 0; font-size: 0.78rem; line-height: 1.35; color: var(--muted); }

/* kaolin damlaları — kobalt bölümün üstüne akar */
.hero::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -44px;
  height: 46px;
  pointer-events: none;
  background:
    radial-gradient(ellipse 15px 44px at 50% 0, var(--kaolin) 98%, transparent 100%) 0 0 / 83px 46px repeat-x,
    radial-gradient(ellipse 11px 28px at 50% 0, var(--kaolin) 98%, transparent 100%) 31px 0 / 127px 46px repeat-x,
    radial-gradient(ellipse 22px 16px at 50% 0, var(--kaolin) 98%, transparent 100%) 12px 0 / 57px 46px repeat-x;
}

@media (max-width: 60rem) {
  .hero { grid-template-columns: 1fr; }
  .hero h1 { max-width: 16ch; }
  .hero-photo { box-shadow: 10px 10px 0 var(--kobalt); }
  .hero-visual { padding-right: 10px; padding-bottom: 0; }
  .hero-photo img { aspect-ratio: 1 / 1; }
  .wheel {
    position: relative;
    left: auto; bottom: auto;
    display: flex; align-items: center; gap: 1rem;
    width: auto;
    margin-top: 1.6rem;
    max-width: 24rem;
  }
  .wheel svg { width: 110px; flex: none; }
  .wheel-hint { margin: 0; font-size: 0.9rem; }
}

/* ---------- Story ---------- */
.story {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2rem, 6vw, 6rem);
  align-items: center;
  padding-top: clamp(6rem, 10vw, 9rem);
  background:
    repeating-linear-gradient(180deg, rgba(245, 241, 232, 0.06) 0 2px, transparent 2px 14px),
    var(--kobalt);
  color: var(--kaolin);
  --focus: var(--hardal);
}
.story .eyebrow { color: var(--hardal-soft); }
.story-photo { margin: 0; transform: rotate(-1.5deg); border: 3px solid var(--kaolin); border-radius: 2.2rem 0.6rem 2.2rem 0.6rem; overflow: hidden; box-shadow: 12px 12px 0 var(--kobalt-deep); }
.story-photo img { width: 100%; aspect-ratio: 4 / 3.4; object-fit: cover; }
.note {
  margin-top: 1.6rem;
  padding: 1rem 1.2rem;
  max-width: 34rem;
  background: var(--hardal);
  color: var(--tenmoku);
  font-family: var(--display);
  font-style: italic;
  font-size: 1.15rem;
  line-height: 1.45;
  border-radius: 0.3rem 1.4rem 1.4rem 1.4rem;
  transform: rotate(0.8deg);
}
@media (max-width: 60rem) {
  .story { grid-template-columns: 1fr; }
}

/* ---------- Services ---------- */
.services {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: start;
}
.services-head { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 2rem; align-items: end; }
.services-head h2 { margin: 0; max-width: 16ch; }
.services-head p { margin: 0; }
.services-photo { margin: 0; position: sticky; top: 6rem; border: 2px solid var(--tenmoku); border-radius: 0.6rem 3rem 0.6rem 3rem; overflow: hidden; box-shadow: 10px 10px 0 var(--hardal); }
.services-photo img { width: 100%; aspect-ratio: 4 / 4.6; object-fit: cover; }

.service-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.1rem; }
.service {
  position: relative;
  padding: 1.5rem 1.4rem 1.6rem;
  border: 2px solid var(--tenmoku);
  border-radius: 1.6rem 1.6rem 1.6rem 0.3rem;
  color: var(--tenmoku);
}
.service p { margin: 0; }
.service h3 { margin-top: 1.6rem; }
.service-no { font: 700 0.85rem var(--text); letter-spacing: 0.18em; position: absolute; top: 1.2rem; left: 1.4rem; }
.service::after {
  content: "";
  position: absolute; top: 1rem; right: 1.2rem;
  width: 2.2rem; height: 2.2rem; border-radius: 50%;
  border: 2px solid var(--tenmoku);
  background: repeating-linear-gradient(180deg, rgba(46,26,18,0.28) 0 2px, transparent 2px 6px);
}
.tone-a { background: var(--mavi-soft); }
.tone-b { background: var(--hardal-soft); margin-top: 1.5rem; }
.tone-c { background: var(--cream); }
.tone-d { background: var(--kaolin-2); margin-top: 1.5rem; }

@media (prefers-reduced-motion: no-preference) {
  .service { transition: transform 0.25s ease; }
  .service:hover { transform: translateY(-5px) rotate(-0.4deg); }
}

@media (max-width: 64rem) {
  .services { grid-template-columns: 1fr; }
  .services-head { grid-template-columns: 1fr; gap: 1rem; }
  .services-photo { position: static; }
  .services-photo img { aspect-ratio: 4 / 3; }
}
@media (max-width: 40rem) {
  .service-grid { grid-template-columns: 1fr; }
  .tone-b, .tone-d { margin-top: 0; }
}

/* ---------- Gallery ---------- */
.gallery {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 4fr) minmax(0, 4fr);
  gap: clamp(1.2rem, 3vw, 3rem);
  align-items: start;
  background:
    repeating-linear-gradient(180deg, rgba(245, 241, 232, 0.04) 0 2px, transparent 2px 16px),
    var(--tenmoku);
  color: var(--kaolin);
  --focus: var(--hardal);
}
.gallery-head h2 { color: var(--hardal-soft); }
.gallery-head p { color: var(--kaolin); }
.gallery figure { margin: 0; }
.gallery img { width: 100%; object-fit: cover; border: 2px solid var(--kaolin); }
.gallery-a img { aspect-ratio: 3 / 4; border-radius: 999px 999px 1rem 1rem; }
.gallery-b { margin-top: clamp(3rem, 9vw, 8rem); }
.gallery-b img { aspect-ratio: 1 / 1; border-radius: 50%; box-shadow: 10px 10px 0 var(--kobalt); }
.gallery figcaption { margin-top: 1rem; font-size: 0.95rem; color: var(--hardal-soft); text-align: center; }
@media (max-width: 60rem) {
  .gallery { grid-template-columns: 1fr 1fr; }
  .gallery-head { grid-column: 1 / -1; }
  .gallery-b { margin-top: 3rem; }
}
@media (max-width: 36rem) {
  .gallery { grid-template-columns: 1fr; }
  .gallery-a, .gallery-b { max-width: 22rem; width: 100%; margin-inline: auto; }
  .gallery-b { margin-top: 0; }
}

/* ---------- Workshops ---------- */
.workshops {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(2rem, 6vw, 6rem);
  align-items: center;
  background: var(--hardal);
  color: var(--tenmoku);
  --focus: var(--tenmoku);
}
.workshops .eyebrow { color: var(--tenmoku); }
.workshops-photo { margin: 0; justify-self: center; width: min(100%, 30rem); border: 3px solid var(--tenmoku); border-radius: 999px 999px 1.5rem 1.5rem; overflow: hidden; box-shadow: -12px 12px 0 var(--tenmoku); background: var(--kaolin); }
.workshops-photo img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.workshops-copy .btn { margin-top: 0.8rem; }
@media (max-width: 60rem) {
  .workshops { grid-template-columns: 1fr; }
  .workshops-photo { order: -1; width: min(100%, 22rem); box-shadow: -8px 8px 0 var(--tenmoku); margin-left: 8px; }
}

/* ---------- Why ---------- */
.why {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(1.5rem, 5vw, 5rem);
  align-items: start;
  background: var(--kaolin);
}
.why h2 { max-width: 10ch; }
.why-big { font-family: var(--display); font-size: clamp(1.5rem, 2.8vw, 2.3rem); line-height: 1.2; font-style: italic; color: var(--kobalt); margin-bottom: 1.4rem; }
.swatches { grid-column: 1 / -1; display: flex; gap: 0.6rem; margin-top: 1rem; }
.sw { flex: 1; height: 3.2rem; border: 2px solid var(--tenmoku); border-radius: 0.3rem 1.2rem 0.3rem 1.2rem; }
.sw1 { background: var(--cream); }
.sw2 { background: var(--kobalt); }
.sw3 { background: var(--tenmoku); }
.sw4 { background: var(--hardal); }
.sw5 { background: var(--demir); }
@media (max-width: 60rem) {
  .why { grid-template-columns: 1fr; }
  .why h2 { max-width: none; }
}

/* ---------- Process ---------- */
.process { background: var(--kaolin-2); }
.process h2 { max-width: 14ch; margin-bottom: 2.5rem; }
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr));
  gap: 1.4rem;
  counter-reset: none;
}
.steps li { position: relative; padding-top: 1.3rem; border-top: 2px solid var(--tenmoku); }
.steps li::before {
  content: "";
  position: absolute; top: -2px; left: 0; right: 0; height: 12px;
  background: repeating-linear-gradient(90deg, var(--tenmoku) 0 2px, transparent 2px 8px);
  opacity: 0.35;
  transform: translateY(-12px);
}
.step-no {
  display: grid; place-items: center;
  width: 3rem; height: 3rem; margin-bottom: 1rem;
  border-radius: 50%;
  background: var(--kobalt); color: var(--kaolin);
  font: 700 1.4rem var(--display);
  border: 2px solid var(--tenmoku);
}
.steps p { font-size: 1rem; margin: 0; }
@media (min-width: 64rem) {
  .steps li:nth-child(2) { margin-top: 1.2rem; }
  .steps li:nth-child(3) { margin-top: 2.4rem; }
  .steps li:nth-child(4) { margin-top: 1.2rem; }
}

/* ---------- FAQ ---------- */
.faq {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  gap: clamp(1.5rem, 5vw, 5rem);
  align-items: start;
}
.faq-head { position: sticky; top: 6rem; }
.faq-head h2 { max-width: 12ch; }
.faq details { border-top: 2px solid var(--tenmoku); }
.faq details:last-child { border-bottom: 2px solid var(--tenmoku); }
.faq summary {
  position: relative;
  cursor: pointer;
  list-style: none;
  padding: 1.15rem 3.2rem 1.15rem 0;
  font-family: var(--display);
  font-size: clamp(1.1rem, 1.8vw, 1.35rem);
  font-weight: 700;
  line-height: 1.25;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute; right: 0; top: 50%;
  transform: translateY(-50%);
  display: grid; place-items: center;
  width: 2.2rem; height: 2.2rem;
  border-radius: 50%;
  background: var(--kobalt); color: var(--kaolin);
  font: 700 1.3rem/1 var(--text);
}
.faq details[open] summary::after { content: "–"; background: var(--tenmoku); }
.faq details p { padding-right: 3rem; margin-bottom: 1.3rem; }
@media (max-width: 60rem) {
  .faq { grid-template-columns: 1fr; }
  .faq-head { position: static; }
}

/* ---------- Contact ---------- */
.contact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2rem, 6vw, 6rem);
  align-items: start;
  background:
    repeating-linear-gradient(180deg, rgba(245, 241, 232, 0.06) 0 2px, transparent 2px 14px),
    var(--kobalt);
  color: var(--kaolin);
  --focus: var(--hardal);
}
.contact .eyebrow { color: var(--hardal-soft); }
.contact-form {
  padding: clamp(1.4rem, 3vw, 2.4rem);
  background: var(--kaolin);
  color: var(--tenmoku);
  border: 3px solid var(--tenmoku);
  border-radius: 2rem 0.5rem 2rem 0.5rem;
  box-shadow: 10px 10px 0 var(--tenmoku);
  --focus: var(--kobalt);
}
.field { margin: 0 0 1.2rem; max-width: none; }
.field label { display: block; margin-bottom: 0.4rem; font-weight: 700; font-size: 0.95rem; }
.field input, .field textarea {
  width: 100%;
  padding: 0.8rem 0.9rem;
  background: var(--cream);
  color: var(--tenmoku);
  border: 2px solid var(--tenmoku);
  border-radius: 0.6rem;
  font: 1rem/1.4 var(--text);
}
.field textarea { resize: vertical; min-height: 8rem; }
.field input:focus-visible, .field textarea:focus-visible { outline: 3px solid var(--kobalt); outline-offset: 2px; }
.contact-form .btn { width: 100%; }
@media (max-width: 60rem) {
  .contact { grid-template-columns: 1fr; }
  .contact-form { box-shadow: 6px 6px 0 var(--tenmoku); margin-right: 6px; }
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--tenmoku);
  color: var(--kaolin);
  padding: 2.5rem max(1.1rem, 4vw, calc((100% - 1320px) / 2)) 3rem;
  --focus: var(--hardal);
}
.footer-inner { display: grid; gap: 0.4rem; }
.footer-brand { font-family: var(--display); font-size: 1.6rem; font-weight: 700; margin: 0; color: var(--hardal-soft); }
.footer-text { margin: 0; }
.footer-links { display: flex; flex-wrap: wrap; gap: 0.5rem 1.6rem; margin: 0.8rem 0 0; }
.footer-links a { font-weight: 600; }

/* ---------- Motion preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .wheel { cursor: default; }
}

@media (max-width: 24rem) {
  body { font-size: 1rem; }
  .brand-text span { font-size: 0.7rem; }
}

/* inner pages */
/* Alt sayfalar için küçük eklemeler. Yalnızca pg- önekli yeni sınıflar. */

/* ---------- Kompakt sayfa başlığı ---------- */
.pg-hero {
  --pg-ring: clamp(6rem, 18vw, 15rem);
  position: relative;
  overflow: hidden;
  padding: clamp(2.5rem, 6vw, 4.5rem) var(--pad) clamp(3rem, 6vw, 4.5rem);
  background: var(--kaolin);
}
.pg-hero > * { position: relative; z-index: 1; }
.pg-hero h1 {
  font-size: clamp(2.2rem, 5.2vw, 4.2rem);
  max-width: 18ch;
}
.pg-lead {
  font-size: clamp(1.1rem, 1.5vw, 1.3rem);
  max-width: 46ch;
  margin-bottom: 0;
}
/* çark üstten görünüşü */
.pg-hero::before {
  content: "";
  position: absolute;
  z-index: 0;
  right: var(--pad);
  top: 50%;
  width: var(--pg-ring);
  aspect-ratio: 1;
  transform: translateY(-50%);
  border: 2px solid var(--tenmoku);
  border-radius: 50%;
  background:
    repeating-radial-gradient(circle at 50% 50%, transparent 0 9px, rgba(46, 26, 18, 0.16) 9px 11px),
    var(--hardal-soft);
  box-shadow: 8px 8px 0 var(--kobalt);
  display: none;
}
/* karo şeridi */
.pg-hero::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 12px;
  pointer-events: none;
  background: repeating-linear-gradient(90deg, var(--kobalt) 0 28px, var(--hardal) 28px 56px, var(--tenmoku) 56px 84px);
}
@media (min-width: 48rem) {
  .pg-hero::before { display: block; }
  .pg-hero { padding-right: calc(var(--pad) + var(--pg-ring) + 2.5rem); }
}

/* ---------- Başlık solda, içerik sağda ---------- */
.pg-split {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  gap: clamp(1.5rem, 5vw, 5rem);
  align-items: start;
}
.pg-split-head h2 { font-size: clamp(1.8rem, 3.2vw, 2.8rem); }
@media (min-width: 64rem) {
  .pg-split-head { position: sticky; top: 6rem; }
}
@media (max-width: 64rem) {
  .pg-split { grid-template-columns: 1fr; }
}

/* ---------- Kapanış çağrısı ---------- */
.pg-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1.5rem clamp(1.5rem, 5vw, 4rem);
  align-items: center;
  background: var(--hardal-soft);
  border-top: 2px solid var(--tenmoku);
}
.pg-cta h2 {
  font-size: clamp(1.8rem, 3.6vw, 3rem);
  max-width: 16ch;
}
.pg-cta-text p { margin-bottom: 0; }
.pg-cta-act { display: flex; flex-wrap: wrap; gap: 0.9rem; }
@media (max-width: 48rem) {
  .pg-cta { grid-template-columns: 1fr; }
}

.wpf-legal { padding: clamp(3rem, 8vw, 7rem) clamp(1.25rem, 4vw, 2rem); }
.wpf-legal .wpf-legal__inner { max-width: 72ch; margin: 0 auto; }
.wpf-legal .wpf-legal__inner h1 { font-size: clamp(2rem, 4.5vw, 3.2rem); line-height: 1.1; margin: .2em 0 .8em; }
.wpf-legal .wpf-legal__inner h2 { font-size: clamp(1.2rem, 2.2vw, 1.5rem); line-height: 1.25; margin: 2.2em 0 .6em; }
.wpf-legal .wpf-legal__inner p, .wpf-legal .wpf-legal__inner li { line-height: 1.75; max-width: none; }
.wpf-legal .wpf-legal__inner ul { padding-left: 1.2em; margin: 0 0 1em; }
.wpf-legal .wpf-legal__inner li { margin: .35em 0; list-style: disc; }
.wpf-legal .wpf-legal__inner a { color: inherit; text-decoration: underline; text-underline-offset: .15em; }
.wpf-legal .wpf-legal__meta { font-size: .875rem; opacity: .7; margin: 0; }
.wpf-legal .wpf-legal__table { overflow-x: auto; margin: 1em 0 1.5em; }
.wpf-legal table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.wpf-legal th, .wpf-legal td { text-align: left; vertical-align: top; padding: .7em .8em; border-bottom: 1px solid rgba(127,127,127,.3); }
.wpf-legal code { font-size: .85em; word-break: break-word; }
.wpf-legal-links { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem 1.4rem; grid-column: 1 / -1;
  width: 100%; box-sizing: border-box; padding: 1.1rem clamp(1.25rem, 4vw, 2rem) 0; font-size: .875rem; }
.wpf-legal-links a { color: inherit; opacity: .85; text-decoration: underline; text-underline-offset: .15em; }
.wpf-legal-links a:hover, .wpf-legal-links a:focus-visible { opacity: 1; }

.wpf-consent { position: fixed; z-index: 99998; left: 16px; right: 16px; bottom: 16px; max-width: 27rem; box-sizing: border-box;
  padding: 20px 22px; border-radius: 14px; border: 1px solid rgba(127,127,127,.28); box-shadow: 0 14px 44px rgba(0,0,0,.24);
  font-size: 15px; line-height: 1.55; text-align: left; }
.wpf-consent[hidden] { display: none; }
.wpf-consent .wpf-consent__title { margin: 0 0 6px; font-weight: 700; font-size: 1.05em; }
.wpf-consent .wpf-consent__text { margin: 0 0 16px; max-width: none; }
.wpf-consent .wpf-consent__text a { color: inherit; text-decoration: underline; }
.wpf-consent .wpf-consent__actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.wpf-consent .wpf-consent__actions button { cursor: pointer; margin: 0; width: auto; }
.wpf-consent .wpf-consent__primary, .wpf-consent .wpf-consent__secondary { font: inherit; font-weight: 600; padding: 10px 18px; border-radius: 8px; }
.wpf-consent .wpf-consent__primary { background: #1c1b19; color: #fff; border: 1px solid #1c1b19; }
.wpf-consent .wpf-consent__secondary { background: transparent; color: inherit; border: 1px solid currentColor; }
.wpf-consent button:focus-visible { outline: 2px solid currentColor; outline-offset: 2px; }
