/* ===========================================================
   Bastem Hukuk — Editorial light design
   Soft paper tones, quiet slate accent, no template chrome
   =========================================================== */

:root {
  --paper: #faf8f5;
  --paper-2: #f2efe9;
  --paper-3: #ebe6dc;
  --white: #ffffff;
  --ink: #2c2a26;
  --ink-2: #5c574f;
  --ink-3: #8a847a;
  --line: #e4dfd6;
  --line-2: #d4cec3;
  --slate: #4f5d6a;
  --slate-deep: #3a4652;
  --slate-soft: #e8eef2;
  --mist: #dce6ec;
  --max: 1120px;
  --header-h: 80px;
  --display: "Newsreader", Georgia, serif;
  --body: "Source Sans 3", "Segoe UI", system-ui, sans-serif;
  --ease: 0.28s cubic-bezier(0.22, 1, 0.36, 1);
  --shadow-soft: 0 18px 50px rgba(44, 42, 38, 0.07);
  --shadow-panel: 0 24px 60px rgba(58, 70, 82, 0.12);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--body);
  color: var(--ink);
  background:
    radial-gradient(ellipse 80% 50% at 100% -10%, rgba(220, 230, 236, 0.55), transparent 55%),
    radial-gradient(ellipse 60% 40% at -5% 30%, rgba(235, 230, 220, 0.7), transparent 50%),
    var(--paper);
  background-attachment: fixed;
  line-height: 1.65;
  font-size: 1.05rem;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; border: none; background: none; }

h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 500;
  line-height: 1.18;
  color: var(--ink);
  letter-spacing: -0.01em;
}

.container { width: min(100% - 40px, var(--max)); margin-inline: auto; }
.section { padding: 88px 0; }
.section--tight { padding: 56px 0; }
.band {
  background:
    linear-gradient(180deg, rgba(242, 239, 233, 0.4), var(--paper-2));
  position: relative;
}
.band::before {
  content: "";
  position: absolute; inset: 0 0 auto 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--line-2), transparent);
}
.band-white {
  background: linear-gradient(180deg, var(--white), color-mix(in srgb, var(--paper) 40%, var(--white)));
  border-block: 1px solid var(--line);
}

/* --- Type helpers --- */
.kicker {
  font-family: var(--body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--slate);
  margin-bottom: 14px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.kicker::before {
  content: "";
  width: 18px; height: 1px;
  background: var(--slate);
}
.lede { color: var(--ink-2); font-size: 1.12rem; max-width: 38rem; }
.rule {
  width: 48px; height: 1px;
  background: linear-gradient(90deg, var(--slate), transparent);
  border: 0; margin: 20px 0;
}

/* --- Buttons --- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 13px 22px;
  font-size: 0.92rem; font-weight: 600;
  border: 1px solid transparent;
  transition: var(--ease);
  white-space: nowrap;
  position: relative;
}
.btn--primary {
  background: var(--slate-deep); color: var(--paper); border-color: var(--slate-deep);
  box-shadow: 0 10px 28px rgba(58, 70, 82, 0.22);
}
.btn--primary:hover {
  background: var(--ink); border-color: var(--ink);
  transform: translateY(-2px);
  box-shadow: 0 14px 34px rgba(44, 42, 38, 0.22);
}
.btn--ghost {
  background: color-mix(in srgb, var(--white) 70%, transparent);
  color: var(--ink); border-color: var(--line-2);
  backdrop-filter: blur(6px);
}
.btn--ghost:hover {
  border-color: var(--ink);
  background: var(--white);
  transform: translateY(-2px);
}
.btn--light {
  background: var(--white); color: var(--ink); border-color: var(--white);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}
.btn--light:hover { background: var(--paper-2); transform: translateY(-2px); }
.btn--block { width: 100%; justify-content: center; }
.btn svg { width: 16px; height: 16px; transition: var(--ease); }
.btn:hover svg { transform: translateX(3px); }

.text-link {
  color: var(--slate-deep);
  font-weight: 600;
  border-bottom: 1px solid var(--line-2);
  padding-bottom: 1px;
  transition: var(--ease);
}
.text-link:hover { border-color: var(--slate-deep); color: var(--ink); }

/* --- Header --- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--paper) 92%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: var(--ease);
}
.site-header.is-scrolled {
  border-bottom-color: var(--line);
  background: color-mix(in srgb, var(--paper) 96%, transparent);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  gap: 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  flex-shrink: 0;
}
.brand-logo,
img.brand-logo {
  height: 48px;
  width: auto;
  max-width: min(220px, 46vw);
  flex-shrink: 0;
  display: block;
  object-fit: contain;
  border-radius: 0 !important;
  background: transparent !important;
  padding: 0 !important;
  box-shadow: none !important;
  transform: none;
  margin: 0;
  transition: opacity var(--ease);
}
.brand:hover .brand-logo { opacity: 0.88; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font-family: var(--display); font-size: 1.2rem; font-weight: 600; }
.brand-sub { font-size: 0.68rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-3); margin-top: 3px; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-links a {
  padding: 8px 12px; font-size: 0.92rem; color: var(--ink-2); font-weight: 500;
  transition: var(--ease); position: relative;
}
.nav-links a::after {
  content: "";
  position: absolute; left: 12px; right: 12px; bottom: 4px; height: 1px;
  background: var(--slate);
  transform: scaleX(0); transform-origin: left;
  transition: var(--ease);
}
.nav-links a:hover, .nav-links a.is-active { color: var(--ink); }
.nav-links a:hover::after, .nav-links a.is-active::after { transform: scaleX(1); }
.nav-cta { flex-shrink: 0; }
.nav-toggle {
  display: none; width: 40px; height: 40px;
  place-items: center; border: 1px solid var(--line);
  background: color-mix(in srgb, var(--white) 70%, transparent);
}
.nav-toggle span {
  display: block; width: 18px; height: 1.5px; background: var(--ink);
  position: relative;
}
.nav-toggle span::before, .nav-toggle span::after {
  content: ""; position: absolute; left: 0; width: 18px; height: 1.5px; background: var(--ink);
}
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }

/* --- Hero --- */
.hero {
  position: relative;
  padding: 88px 0 100px;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  background:
    linear-gradient(120deg, rgba(250, 248, 245, 0.92) 0%, rgba(250, 248, 245, 0.72) 48%, rgba(232, 238, 242, 0.55) 100%),
    url("https://images.unsplash.com/photo-1589829545856-d10d557cf95f?auto=format&fit=crop&w=1800&q=80") center/cover no-repeat;
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 85% 20%, rgba(220, 230, 236, 0.45), transparent 40%),
    linear-gradient(180deg, transparent 60%, var(--paper) 100%);
  pointer-events: none;
}
.hero::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: 0; height: 80px;
  background: linear-gradient(180deg, transparent, var(--paper));
  pointer-events: none;
}
.hero .container { position: relative; z-index: 1; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 56px;
  align-items: end;
}
.hero-brand {
  font-family: var(--display);
  font-size: clamp(3.6rem, 8.5vw, 6.2rem);
  font-weight: 500;
  line-height: 0.92;
  letter-spacing: -0.03em;
  margin-bottom: 28px;
  text-wrap: balance;
}
.hero-brand em {
  font-style: italic; font-weight: 400;
  background: linear-gradient(120deg, var(--slate) 0%, var(--slate-deep) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero h1 {
  font-size: clamp(1.35rem, 2.4vw, 1.75rem);
  font-weight: 400;
  color: var(--ink-2);
  max-width: 28ch;
  margin-bottom: 32px;
  line-height: 1.35;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-panel {
  background: color-mix(in srgb, var(--white) 88%, transparent);
  border: 1px solid color-mix(in srgb, var(--line) 80%, white);
  padding: 30px;
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow-panel);
  position: relative;
}
.hero-panel::before {
  content: "";
  position: absolute; top: 0; left: 0; width: 3px; height: 100%;
  background: linear-gradient(180deg, var(--slate), var(--mist));
}
.hero-panel h2 {
  font-size: 0.78rem;
  font-family: var(--body);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 20px;
}
.hero-meta { display: grid; gap: 18px; }
.hero-meta > div {
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}
.hero-meta > div:last-child { border-bottom: 0; padding-bottom: 0; }
.hero-meta dt {
  font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--ink-3); margin-bottom: 5px;
}
.hero-meta dd { color: var(--ink); font-weight: 500; }

/* --- Page intro --- */
.page-intro {
  position: relative;
  padding: 72px 0 56px;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  background:
    linear-gradient(135deg, var(--paper) 0%, var(--paper-2) 55%, var(--mist) 140%);
}
.page-intro .container { position: relative; z-index: 1; }
.page-intro::after {
  content: "";
  position: absolute; right: -40px; top: -40px;
  width: 280px; height: 280px;
  border: 1px solid var(--line);
  border-radius: 50%;
  opacity: 0.55;
  pointer-events: none;
}
.page-intro h1 { font-size: clamp(2.4rem, 4.8vw, 3.5rem); margin-bottom: 14px; }
.crumbs {
  display: flex; gap: 8px; align-items: center;
  font-size: 0.85rem; color: var(--ink-3); margin-bottom: 18px;
}
.crumbs a:hover { color: var(--ink); }

/* --- Layout blocks --- */
.stack { display: grid; gap: 20px; }
.two-col {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  align-items: start;
}
.two-col--flip { grid-template-columns: 1.1fr 0.9fr; }
.two-col--flip > :first-child { order: 2; }

.media-block {
  background: var(--slate-soft);
  border: 1px solid var(--line);
  min-height: 360px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  position: relative;
}
.media-block::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(44, 42, 38, 0.18));
  pointer-events: none;
}
.media-block img {
  width: 100%; height: 100%; min-height: 360px;
  object-fit: cover;
  filter: grayscale(0.25) contrast(1.04) saturate(0.85);
  transition: transform 0.8s var(--ease);
}
.media-block:hover img { transform: scale(1.03); }
.media-caption {
  font-size: 0.82rem; color: var(--ink-3);
  margin-top: 10px;
}

/* --- Practice list (not card grid) --- */
.practice-list { border-top: 1px solid var(--line); }
.practice-row {
  display: grid;
  grid-template-columns: 72px 1fr auto;
  gap: 24px;
  align-items: baseline;
  padding: 30px 0;
  border-bottom: 1px solid var(--line);
  transition: var(--ease);
  position: relative;
}
.practice-row::before {
  content: "";
  position: absolute; left: -12px; top: 0; bottom: 0; width: 2px;
  background: var(--slate);
  transform: scaleY(0);
  transition: var(--ease);
}
.practice-row:hover {
  background: linear-gradient(90deg, color-mix(in srgb, var(--mist) 45%, transparent), transparent);
  padding-inline: 12px; margin-inline: -12px;
}
.practice-row:hover::before { transform: scaleY(1); }
.practice-idx {
  font-family: var(--display);
  font-size: 1.35rem;
  color: var(--ink-3);
  transition: var(--ease);
}
.practice-row:hover .practice-idx { color: var(--slate-deep); }
.practice-row h3 { font-size: 1.5rem; margin-bottom: 6px; transition: var(--ease); }
.practice-row:hover h3 { transform: translateX(2px); }
.practice-row p { color: var(--ink-2); max-width: 46ch; font-size: 0.98rem; }
.practice-row .text-link { align-self: center; opacity: 0.7; transition: var(--ease); }
.practice-row:hover .text-link { opacity: 1; }

/* --- Feature strip --- */
.feature-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 1px solid var(--line);
  background: var(--white);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}
.feature-cell {
  padding: 36px 30px;
  border-right: 1px solid var(--line);
  position: relative;
  transition: var(--ease);
}
.feature-cell::after {
  content: "";
  position: absolute; inset: auto 0 0 0; height: 2px;
  background: linear-gradient(90deg, var(--slate), var(--mist));
  transform: scaleX(0); transform-origin: left;
  transition: var(--ease);
}
.feature-cell:hover {
  background: linear-gradient(180deg, var(--white), color-mix(in srgb, var(--mist) 35%, white));
}
.feature-cell:hover::after { transform: scaleX(1); }
.feature-cell:last-child { border-right: 0; }
.feature-cell h3 { font-size: 1.4rem; margin-bottom: 12px; }
.feature-cell p { color: var(--ink-2); font-size: 0.96rem; }

/* --- Process --- */
.steps { display: grid; gap: 0; border-top: 1px solid var(--line); }
.step {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 24px;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
  transition: var(--ease);
}
.step:hover { padding-left: 8px; }
.step-num {
  font-family: var(--display);
  font-size: 1.8rem;
  color: var(--slate);
  background: linear-gradient(180deg, var(--slate), var(--mist));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.step h3 { font-size: 1.25rem; margin-bottom: 6px; }
.step p { color: var(--ink-2); max-width: 48ch; }

/* --- Quote / principle --- */
.principle {
  max-width: 42rem;
  margin: 0 auto;
  text-align: left;
  position: relative;
  padding: 36px 0 36px 28px;
}
.principle::before {
  content: "";
  position: absolute; left: 0; top: 20px; bottom: 20px; width: 2px;
  background: linear-gradient(180deg, var(--slate), transparent);
}
.principle p {
  font-family: var(--display);
  font-size: clamp(1.4rem, 2.6vw, 1.9rem);
  font-weight: 400;
  line-height: 1.45;
  color: var(--ink);
}
.principle cite {
  display: block;
  margin-top: 24px;
  font-style: normal;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-3);
}

/* --- FAQ --- */
.faq { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
  width: 100%;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 22px 0;
  text-align: left;
  font-family: var(--display);
  font-size: 1.2rem;
  color: var(--ink);
}
.faq-q::after {
  content: "+";
  font-family: var(--body);
  font-size: 1.2rem;
  color: var(--ink-3);
  transition: var(--ease);
}
.faq-item.is-open .faq-q::after { content: "–"; }
.faq-a {
  max-height: 0; overflow: hidden; transition: max-height 0.3s ease;
}
.faq-a p { padding: 0 0 22px; color: var(--ink-2); max-width: 58ch; }

/* --- CTA --- */
.cta {
  position: relative;
  background:
    linear-gradient(135deg, rgba(58, 70, 82, 0.94), rgba(44, 42, 38, 0.92)),
    url("https://images.unsplash.com/photo-1450101499163-c8848c66ca85?auto=format&fit=crop&w=1600&q=70") center/cover;
  color: var(--paper);
  padding: 88px 0;
  overflow: hidden;
}
.cta::before {
  content: "";
  position: absolute; right: -60px; top: -60px;
  width: 260px; height: 260px;
  border: 1px solid rgba(250, 248, 245, 0.12);
  border-radius: 50%;
}
.cta .container { position: relative; z-index: 1; }
.cta h2 { color: var(--paper); font-size: clamp(1.9rem, 3.4vw, 2.6rem); margin-bottom: 14px; }
.cta p { color: color-mix(in srgb, var(--paper) 78%, transparent); max-width: 36rem; margin-bottom: 30px; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* --- Team --- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.team-grid--two {
  grid-template-columns: repeat(2, minmax(0, 320px));
  justify-content: start;
}
.person {
  border-bottom: 1px solid var(--line);
  padding-bottom: 24px;
  transition: var(--ease);
}
.person:hover { transform: translateY(-4px); }
.person-photo {
  aspect-ratio: 4/5;
  background:
    linear-gradient(160deg, var(--mist), var(--paper-2));
  border: 1px solid var(--line);
  display: grid; place-items: center;
  margin-bottom: 18px;
  font-family: var(--display);
  font-size: 2.6rem;
  color: var(--slate);
  box-shadow: var(--shadow-soft);
  position: relative;
  overflow: hidden;
}
.person-photo::after {
  content: "";
  position: absolute; inset: 12px;
  border: 1px solid color-mix(in srgb, var(--slate) 25%, transparent);
}
.person h3 { font-size: 1.35rem; margin-bottom: 4px; }
.person .role { font-size: 0.85rem; color: var(--slate); font-weight: 600; margin-bottom: 10px; }
.person p { color: var(--ink-2); font-size: 0.95rem; }

/* --- Timeline --- */
.timeline { border-left: 1px solid var(--line-2); padding-left: 28px; display: grid; gap: 28px; }
.timeline-item { position: relative; }
.timeline-item::before {
  content: "";
  position: absolute; left: -32px; top: 8px;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--slate);
}
.timeline-year { font-size: 0.8rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--slate); font-weight: 600; margin-bottom: 4px; }
.timeline-item h3 { font-size: 1.2rem; margin-bottom: 6px; }
.timeline-item p { color: var(--ink-2); }

/* --- Practice detail --- */
.practice-block {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 48px;
  padding: 56px 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
}
.practice-block:first-of-type { border-top: 1px solid var(--line); }
.practice-visual {
  min-height: 240px;
  background:
    linear-gradient(145deg, var(--mist), var(--paper-2) 55%, var(--white));
  border: 1px solid var(--line);
  display: grid; place-items: center;
  color: var(--slate);
  font-family: var(--display);
  font-size: 3.4rem;
  box-shadow: var(--shadow-soft);
  position: relative;
  overflow: hidden;
}
.practice-visual::before {
  content: "";
  position: absolute; inset: 16px;
  border: 1px solid color-mix(in srgb, var(--slate) 18%, transparent);
}
.practice-copy h2 { font-size: clamp(1.6rem, 2.8vw, 2.1rem); margin: 8px 0 14px; }
.practice-copy > p { color: var(--ink-2); margin-bottom: 18px; }
.bullet-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 20px;
  margin-bottom: 24px;
}
.bullet-grid li {
  position: relative;
  padding-left: 14px;
  color: var(--ink);
  font-size: 0.95rem;
}
.bullet-grid li::before {
  content: "";
  position: absolute; left: 0; top: 0.65em;
  width: 5px; height: 1px; background: var(--slate);
}

/* --- Blog --- */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 36px; }
.filter-btn {
  padding: 8px 14px;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink-2);
  font-size: 0.88rem; font-weight: 500;
}
.filter-btn:hover, .filter-btn.is-active {
  border-color: var(--ink); color: var(--ink); background: var(--paper);
}
.post-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px 40px;
}
.post {
  padding: 0 0 28px;
  border-bottom: 1px solid var(--line);
  transition: var(--ease);
}
.post:hover { transform: translateY(-3px); }
.post-cat {
  font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--slate); font-weight: 600; margin-bottom: 10px;
  display: inline-flex; align-items: center; gap: 8px;
}
.post-cat::before {
  content: ""; width: 12px; height: 1px; background: var(--slate);
}
.post h3 { font-size: 1.5rem; margin-bottom: 10px; }
.post h3 a:hover { color: var(--slate-deep); }
.post p { color: var(--ink-2); margin-bottom: 14px; }
.post-meta { font-size: 0.85rem; color: var(--ink-3); }

.article-layout {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 56px;
  align-items: start;
}
.article-body { max-width: 42rem; }
.article-body .lead {
  font-family: var(--display);
  font-size: 1.25rem;
  color: var(--ink-2);
  margin-bottom: 24px;
  padding-left: 18px;
  border-left: 2px solid var(--slate);
}
.article-body h2 { font-size: 1.55rem; margin: 36px 0 12px; }
.article-body h3 { font-size: 1.25rem; margin: 28px 0 10px; }
.article-body p { margin-bottom: 16px; color: var(--ink); }
.article-body ul { margin: 0 0 16px 1.2rem; list-style: disc; color: var(--ink-2); }
.article-body li { margin-bottom: 6px; }
.side-box {
  border: 1px solid var(--line);
  background: var(--white);
  padding: 22px;
  margin-bottom: 18px;
}
.side-box h4 {
  font-family: var(--body);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 14px;
  color: var(--ink-3);
}
.side-box ul li { padding: 8px 0; border-bottom: 1px solid var(--line); }
.side-box ul li:last-child { border-bottom: 0; }
.side-box a { font-size: 0.95rem; color: var(--ink-2); }
.side-box a:hover { color: var(--ink); }
.side-sticky { position: sticky; top: 100px; }

/* --- Forms / contact --- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 48px;
  align-items: start;
}
.info-list { display: grid; gap: 22px; }
.info-list dt {
  font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--ink-3); margin-bottom: 4px;
}
.info-list dd { color: var(--ink); font-weight: 500; }
.info-list a:hover { color: var(--slate-deep); }

.form {
  background: color-mix(in srgb, var(--white) 92%, transparent);
  border: 1px solid var(--line);
  padding: 34px;
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(8px);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 16px; }
.field label {
  display: block;
  font-size: 0.82rem; font-weight: 600;
  margin-bottom: 6px; color: var(--ink);
}
.field .req { color: #9a4a3f; }
.field input, .field textarea, .field select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
  border-radius: 0;
  transition: var(--ease);
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none;
  border-color: var(--slate);
  background: var(--white);
}
.field textarea { min-height: 120px; resize: vertical; }
.field input.invalid, .field textarea.invalid, .field select.invalid {
  border-color: #9a4a3f; background: #fbf4f3;
}
.field-error { display: none; color: #9a4a3f; font-size: 0.8rem; margin-top: 6px; }
.field-error.show { display: block; }
.form-note { font-size: 0.8rem; color: var(--ink-3); margin-top: 12px; line-height: 1.55; }
.form-success {
  display: none;
  border: 1px solid var(--slate);
  background: var(--slate-soft);
  color: var(--ink);
  padding: 14px 16px;
  margin-bottom: 18px;
  font-size: 0.92rem;
}
.form-success.show { display: block; }

.choice-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.choice {
  position: relative;
  border: 1px solid var(--line);
  padding: 12px 10px;
  text-align: center;
  font-size: 0.88rem;
  font-weight: 500;
  background: var(--paper);
  cursor: pointer;
}
.choice input { position: absolute; opacity: 0; }
.choice:hover { border-color: var(--slate); }
.choice:has(input:checked) {
  border-color: var(--slate-deep);
  background: var(--slate-soft);
  color: var(--ink);
}

.map-wrap {
  border: 1px solid var(--line);
  background: var(--white);
  height: 360px;
  overflow: hidden;
}
.map-wrap iframe { width: 100%; height: 100%; border: 0; filter: grayscale(0.7) contrast(0.95); }

/* --- Footer --- */
.site-footer {
  background:
    radial-gradient(ellipse at 20% 0%, rgba(79, 93, 106, 0.35), transparent 45%),
    var(--ink);
  color: #c9c3b8;
  padding-top: 72px;
  font-size: 0.92rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 36px;
  padding-bottom: 48px;
}
.site-footer .brand-name { color: var(--paper); }
.site-footer .brand-logo,
.site-footer img.brand-logo {
  height: 52px;
  width: auto;
  max-width: min(240px, 70vw);
  background: transparent !important;
  padding: 0 !important;
  border-radius: 0 !important;
  filter: brightness(0) invert(1);
  opacity: 0.95;
  transform: none;
  margin: 0;
}
.site-footer .brand:hover .brand-logo { opacity: 0.8; }
.site-footer .brand { width: auto; justify-content: flex-start; }
.footer-grid > div:first-child { min-width: 0; }
.footer-about { margin-top: 16px; color: #9e978b; line-height: 1.7; max-width: 28ch; }
.site-footer h4 {
  font-family: var(--body);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #9e978b;
  margin-bottom: 16px;
}
.footer-links li { margin-bottom: 10px; }
.footer-links a:hover { color: var(--paper); }
.footer-contact li { margin-bottom: 12px; line-height: 1.5; }
.footer-contact a:hover { color: var(--paper); }
.footer-bottom {
  border-top: 1px solid #3d3a35;
  padding: 20px 0;
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  font-size: 0.8rem; color: #8a847a;
}

/* --- To top --- */
.to-top {
  position: fixed; right: 20px; bottom: 20px;
  width: 42px; height: 42px;
  display: grid; place-items: center;
  background: var(--slate-deep); color: var(--paper);
  border: 1px solid var(--slate-deep);
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: var(--ease); z-index: 40;
}
.to-top.show { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--ink); }
.to-top svg { width: 18px; height: 18px; }

/* --- Reveal --- */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.65s ease, transform 0.65s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

/* --- Section heads --- */
.section-head { max-width: 36rem; margin-bottom: 44px; }
.section-head h2 { font-size: clamp(1.9rem, 3.2vw, 2.55rem); margin-bottom: 12px; }
.section-head p { color: var(--ink-2); }

/* subtle grain overlay for depth without clutter */
body::before {
  content: "";
  position: fixed; inset: 0; pointer-events: none; z-index: 1000;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* --- Responsive --- */
@media (max-width: 960px) {
  .brand-logo, img.brand-logo { height: 44px; max-width: min(200px, 48vw); }
  .site-footer .brand-logo, .site-footer img.brand-logo { height: 48px; max-width: min(220px, 65vw); }
  .hero-grid, .two-col, .two-col--flip, .contact-grid, .article-layout, .practice-block {
    grid-template-columns: 1fr;
  }
  .two-col--flip > :first-child { order: 0; }
  .feature-strip { grid-template-columns: 1fr; }
  .feature-cell { border-right: 0; border-bottom: 1px solid var(--line); }
  .feature-cell:last-child { border-bottom: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .team-grid, .team-grid--two, .post-grid { grid-template-columns: 1fr 1fr; }
  .side-sticky { position: static; }
}
@media (max-width: 760px) {
  .brand-logo, img.brand-logo { height: 40px; max-width: min(180px, 52vw); }
  .site-footer .brand-logo, .site-footer img.brand-logo { height: 44px; max-width: min(200px, 70vw); }
  .nav-links {
    position: fixed; inset: var(--header-h) 0 auto 0;
    display: none; flex-direction: column; align-items: stretch;
    background: var(--paper); border-bottom: 1px solid var(--line);
    padding: 12px 20px 20px;
    z-index: 60;
  }
  .nav-links.is-open { display: flex; }
  .nav-links a { padding: 14px 4px; border-bottom: 1px solid var(--line); }
  .nav-toggle { display: grid; }
  .nav-cta { display: none; }
  .practice-row { grid-template-columns: 48px 1fr; }
  .practice-row .text-link { grid-column: 2; }
  .step { grid-template-columns: 64px 1fr; }
  .form-row, .choice-grid, .bullet-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .container { width: min(100% - 28px, var(--max)); }
  .section { padding: 64px 0; }
  .team-grid, .team-grid--two, .post-grid, .footer-grid { grid-template-columns: 1fr; }
  .hero { padding: 48px 0 64px; }
  .form { padding: 22px; }
}
