/* NEO Hukuk — nihai sayfa
   Marka: yeşil #013A31, bordo #6A192A, mürekkep #0C0C0C, kâğıt #FDFDFD.
   Altın, referanstaki yardımcı vurgudur; marka rengi değildir.
   WordPress temasında bu :root bloğu style.css içine taşınır.
*/

@font-face {
  font-family: "Sora";
  src: url("../branding/Sora/Sora-VariableFont_wght.ttf") format("truetype");
  font-weight: 400 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Source Serif 4";
  src: url("../fonts/source-serif-4-latin-ext-500.woff2") format("woff2"); /* theme fonts */
  font-weight: 500 600;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Source Serif 4";
  src: url("../fonts/source-serif-4-latin-500.woff2") format("woff2");
  font-weight: 500 600;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --neo-ink: #0c0c0c;
  --neo-green: #013a31;
  --neo-burgundy: #6a192a;
  --neo-paper: #fdfdfd;
  --surface-dark: #071612;
  --surface-warm: #f6f3ee;
  --accent: #c6a56a;
  --accent-ink: #1c140c;
  --text-muted: #4f4f4f;
  --text-on-dark: #e7e2d8;
  --line: rgba(12, 12, 12, 0.08);
  --header-offset: 5.35rem;
  --wrap: 76rem;
  --gutter: clamp(1.15rem, 3vw, 2.5rem);
  --radius: 1rem;
  --shadow: 0 12px 32px rgba(12, 12, 12, 0.06);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --serif: "Source Serif 4", "Times New Roman", serif;
  --sans: "Sora", "Segoe UI", sans-serif;
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-offset) + 0.5rem);
}

body {
  margin: 0;
  background: var(--neo-paper);
  color: var(--neo-ink);
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.6;
}

img { max-width: 100%; display: block; }

h1, h2, h3, .about__points strong, .contact h2 {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

h1, h2, h3, p { margin: 0; }

a { color: inherit; }

.skip {
  position: absolute;
  left: 1rem;
  top: -3rem;
  z-index: 50;
  background: var(--neo-paper);
  color: var(--neo-ink);
  padding: 0.5rem 0.8rem;
}

.skip:focus { top: 0.6rem; }

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.wrap { width: min(var(--wrap), calc(100% - var(--gutter) * 2)); margin-inline: auto; }

.eyebrow {
  margin: 0 0 0.7rem;
  color: var(--accent);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.practice .eyebrow,
.notes .eyebrow { color: var(--neo-burgundy); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 2.75rem;
  padding: 0.65rem 1.15rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font: 500 0.92rem/1 var(--sans);
  text-decoration: none;
  transition: background 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease), transform 0.2s var(--ease);
}

.btn--gold { background: var(--accent); color: var(--accent-ink); }
.btn--gold:hover { background: #d4b67e; }
.btn--reach::before {
  content: "";
  display: block;
  width: 1.05rem;
  height: 1.05rem;
  flex: none;
  background-color: currentColor;
  -webkit-mask: url("../img/wa.svg") center / contain no-repeat;
  mask: url("../img/wa.svg") center / contain no-repeat; /* theme img */
}
.header-cta {
  padding-inline: 1.05rem;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  white-space: nowrap;
}
.area__aside .btn--reach:hover { color: var(--accent-ink); }
.btn--ghost { background: transparent; color: var(--neo-paper); border-color: rgba(253, 253, 253, 0.42); }
.btn--ghost:hover { border-color: var(--accent); color: var(--accent); }

.btn:focus-visible,
a.card:focus-visible,
.site-nav a:focus-visible,
.site-footer a:focus-visible,
.brand:focus-visible,
.nav-toggle:focus-visible {
  outline: 2px solid var(--neo-burgundy);
  outline-offset: 3px;
}

.icon {
  display: grid;
  place-items: center;
  width: 2.4rem;
  height: 2.4rem;
  flex: none;
  border-radius: 999px;
  color: var(--accent);
}

.icon svg {
  width: 1.45rem;
  height: 1.45rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: var(--surface-dark);
  color: var(--neo-paper);
  transition: background 0.2s linear;
}

body.has-dark-top .site-header { background: transparent; }
body.has-dark-top .site-header.is-solid,
body.has-dark-top .site-header.is-open { background: rgba(7, 22, 18, 0.96); }

.header-bar {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1rem;
  width: min(var(--wrap), calc(100% - var(--gutter) * 2));
  min-height: var(--header-offset);
  margin-inline: auto;
}

.header-actions {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  justify-self: end;
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(247, 243, 238, 0.55);
}

.lang-switch a {
  color: inherit;
  text-decoration: none;
  transition: color 0.15s linear;
}

.lang-switch a:hover,
.lang-switch a.is-active {
  color: var(--neo-gold, #c4a574);
}

.lang-switch__sep {
  opacity: 0.45;
  font-weight: 500;
}

.lang-switch--menu {
  display: none;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  width: auto;
  max-width: 100%;
  color: var(--neo-paper);
  text-decoration: none;
}
.brand__mark {
  display: block;
  height: 3.15rem;
  width: auto;
  flex: none;
}
.header-bar .brand { gap: 0.8rem; }
.header-bar .brand__mark { height: 4.15rem; }
.brand__word { display: grid; gap: 0.22rem; min-width: 0; }
.brand__neo {
  font-family: var(--serif);
  font-size: 1.65rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  line-height: 1;
}
.header-bar .brand__neo { font-size: 2.05rem; letter-spacing: 0.14em; }
.brand__line {
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  line-height: 1.15;
  color: var(--text-on-dark);
  white-space: nowrap;
}
.header-bar .brand__line { font-size: 0.9rem; letter-spacing: 0.06em; }
.brand--about { margin-bottom: 1rem; }
.brand--about .brand__mark { height: 3.9rem; }
.brand--about .brand__neo { font-size: 2.05rem; }
.brand--about .brand__line { font-size: 0.82rem; }
.brand--footer .brand__mark { height: 2.45rem; }
.brand--footer .brand__neo { font-size: 1.28rem; letter-spacing: 0.16em; }
.brand--footer .brand__line { font-size: 0.62rem; letter-spacing: 0.08em; }

.nav-toggle {
  display: none;
  justify-self: end;
  border: 0;
  background: transparent;
  color: inherit;
  font: 600 0.72rem/1 var(--sans);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
}

.nav-toggle__close { display: none; }
.site-header.is-open .nav-toggle__open { display: none; }
.site-header.is-open .nav-toggle__close { display: inline; }

.site-nav {
  display: flex;
  justify-content: center;
  gap: 1.35rem;
}

.site-nav a,
.site-footer nav a {
  color: inherit;
  font-size: 0.92rem;
  font-weight: 500;
  text-decoration: none;
}

.site-nav a:hover,
.site-footer nav a:hover { color: var(--accent); }

.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 100svh;
  margin-top: calc(var(--header-offset) * -1);
  padding: calc(var(--header-offset) + 3rem) 0 1.4rem;
  background: var(--surface-dark);
  color: var(--neo-paper);
  overflow: hidden;
}

.hero__media,
.hero__shade { position: absolute; inset: 0; }

.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 72% center;
}

.hero__shade {
  background:
    linear-gradient(90deg, rgba(7, 22, 18, 0.94) 0%, rgba(7, 22, 18, 0.72) 38%, rgba(7, 22, 18, 0.18) 68%, rgba(7, 22, 18, 0.4) 100%);
}

.hero__copy,
.hero__points {
  position: relative;
  z-index: 1;
  width: min(var(--wrap), calc(100% - var(--gutter) * 2));
  margin-inline: auto;
}

.hero__copy { max-width: none; }
.hero h1,
.hero__lede { max-width: 36rem; }
.hero__points { margin-top: auto; }

.hero h1 {
  font-size: clamp(2.45rem, 4vw, 3.55rem);
  font-weight: 600;
  color: var(--neo-paper);
}

.hero h1 span { color: var(--accent); }

.hero__lede {
  max-width: 34rem;
  margin-top: 1.1rem;
  color: var(--text-on-dark);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.6rem;
}

.hero__points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem 1.5rem;
  margin-top: auto;
  padding: 1.15rem 0 0;
  border-top: 1px solid rgba(253, 253, 253, 0.16);
  list-style: none;
}

.hero__points li {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  min-width: 0;
}

.hero__points strong,
.hero__points small { display: block; }
.hero__points strong { font-family: var(--sans); font-size: 0.98rem; font-weight: 600; letter-spacing: 0; }
.hero__points small { color: var(--text-on-dark); font-size: 0.84rem; }

.practice,
.notes {
  background: var(--surface-warm);
  padding: clamp(3.5rem, 6vw, 5rem) 0;
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(16rem, 0.8fr);
  gap: 1.5rem 2.5rem;
  align-items: end;
  margin-bottom: 1.6rem;
}

.section-head h2 { font-size: clamp(2rem, 3vw, 2.7rem); }
.section-head p:last-child { color: var(--text-muted); max-width: 34rem; }
.section-head--center {
  grid-template-columns: 1fr;
  justify-items: center;
  text-align: center;
}
.section-head--center h2 { font-size: 2.05rem; }
.section-head--center p:last-child { margin-inline: auto; }

.band-title {
  margin: 0;
  padding: clamp(1.8rem, 3vw, 2.4rem) var(--gutter) 0.35rem;
  text-align: center;
  font-size: 2.05rem;
}

.practice__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 6.6rem;
  gap: 0.7rem;
  align-items: stretch;
  min-height: 12.5rem;
  padding: 1rem 0.85rem 1rem 1rem;
  background: var(--neo-paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

a.card { color: inherit; text-decoration: none; }
.card__body { display: flex; flex-direction: column; min-width: 0; }
.card h3 { margin: 0.65rem 0 0.4rem; font-size: 1.22rem; }
.card p { color: var(--text-muted); font-size: 0.86rem; line-height: 1.45; }
.card__more {
  margin-top: auto;
  padding-top: 0.85rem;
  color: var(--neo-burgundy);
  font-size: 1.05rem;
  line-height: 1;
}
.card figure { align-self: center; height: 6.4rem; }

a.note { color: inherit; text-decoration: none; }
.text-link { color: var(--neo-burgundy); font-weight: 600; text-decoration: none; }
.text-link:hover { text-decoration: underline; }

.area__mast { padding-top: clamp(2.4rem, 5vw, 4.2rem); }
body.has-dark-top .area__mast {
  margin-top: calc(var(--header-offset) * -1);
  padding-top: calc(var(--header-offset) + 2.2rem);
}

.area { background: var(--surface-warm); }
.area__mast {
  background: var(--surface-dark);
  color: var(--neo-paper);
  padding: clamp(2.4rem, 5vw, 4.2rem) 0;
}
.area__mast h1 { font-size: clamp(2.4rem, 4vw, 3.5rem); max-width: 18ch; }
.area__lede { max-width: 40rem; margin-top: 1rem; color: var(--text-on-dark); }
.area__crumb { margin: 0 0 1rem; font-size: 0.86rem; color: var(--text-on-dark); }
.area__crumb a { color: var(--accent); text-decoration: none; }
.area__crumb a:hover { text-decoration: underline; }
.area__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 17.5rem;
  gap: clamp(1.5rem, 3vw, 3rem);
  align-items: start;
  padding: clamp(2.4rem, 5vw, 4rem) 0;
}
.area__copy h2 { margin: 2.1rem 0 0.7rem; font-size: clamp(1.55rem, 2vw, 1.9rem); }
.area__copy h2:first-child { margin-top: 0; }
.area__copy p { color: var(--text-muted); }
.area__copy p + p { margin-top: 0.85rem; }
.area__copy ul,
.area__copy ol { margin: 0.7rem 0 0; padding-left: 1.2rem; color: var(--text-muted); }
.area__copy li + li { margin-top: 0.45rem; }
.area__copy li a { color: var(--neo-burgundy); font-weight: 600; text-decoration: none; }
.area__copy li a:hover { text-decoration: underline; }
.area__note {
  margin-top: 1.8rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  color: var(--neo-ink);
  font-size: 0.92rem;
}
.area__aside {
  position: sticky;
  top: calc(var(--header-offset) + 1rem);
  display: grid;
  gap: 0.45rem;
  padding: 1.15rem;
  background: var(--neo-paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.area__aside h2 { font-size: 1.25rem; margin-bottom: 0.4rem; }
.area__aside a { text-decoration: none; font-weight: 500; }
.area__aside a:hover { color: var(--neo-burgundy); }
.area__aside a[aria-current="page"] { color: var(--neo-burgundy); }
.area__aside .btn { margin-top: 0.7rem; }

.facts { display: grid; gap: 1.15rem; margin: 0; }
.facts div { display: grid; gap: 0.25rem; }
.facts dt {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--neo-burgundy);
}
.facts dd { margin: 0; color: var(--neo-ink); font-family: var(--serif); font-size: 1.45rem; line-height: 1.25; }
.facts a { color: inherit; text-decoration: none; }
.facts a:hover { color: var(--neo-burgundy); }

.office-map {
  margin-top: 1.5rem;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #e7e2d8;
}
.office-map iframe { display: block; width: 100%; height: 100%; border: 0; }

.socials { display: grid; gap: 0.15rem; margin: 0; padding: 0; list-style: none; }
.socials a {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  min-height: 2.5rem;
  color: var(--neo-ink);
  font-weight: 500;
}
.socials svg { width: 1.35rem; height: 1.35rem; flex: none; }
.aside__note { margin: 0.35rem 0 0; color: var(--text-muted); font-size: 0.78rem; font-weight: 400; line-height: 1.4; }

.contact__page {
  align-self: center;
  color: var(--accent);
  font-weight: 600;
  text-decoration: none;
}
.contact__page:hover { text-decoration: underline; }

.card figure,
.note figure,
.contact__photo {
  margin: 0;
  overflow: hidden;
  border-radius: 0.75rem;
}

.card figure { align-self: center; height: 6.4rem; }
.card img,
.note img,
.about__photo img,
.contact__photo img,
.hero__photo img { width: 100%; height: 100%; object-fit: cover; }

.about { background: var(--surface-dark); color: var(--neo-paper); }

.about__grid {
  display: grid;
  grid-template-columns: 0.86fr 1.05fr 1fr;
  gap: clamp(1.2rem, 2vw, 2rem);
  align-items: center;
  width: min(var(--wrap), calc(100% - var(--gutter) * 2));
  margin-inline: auto;
  padding: clamp(2.2rem, 4vw, 3.2rem) 0;
}

.about__photo {
  margin: 0;
  height: 22rem;
  overflow: hidden;
  border-radius: 1.1rem;
}

.about__photo img { object-position: center 18%; }
.about__copy p { max-width: 34rem; margin: 0 0 1.3rem; color: var(--text-on-dark); }

.about__points {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.about__points li {
  min-height: 7.2rem;
  padding: 1rem;
  border: 1px solid rgba(253, 253, 253, 0.12);
  border-radius: 0.9rem;
  background: rgba(253, 253, 253, 0.03);
}

.about__points strong { display: block; margin-bottom: 0.35rem; color: var(--accent); font-size: 1.25rem; }
.about__points span { color: var(--text-on-dark); font-size: 0.88rem; }

.note-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.note {
  display: grid;
  grid-template-columns: 7.2rem minmax(0, 1fr);
  gap: 0.85rem;
  align-items: center;
  padding: 0.7rem;
  background: var(--neo-paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.note figure { height: 5.6rem; }
.note h3 { font-size: 1.12rem; margin-bottom: 0.35rem; }
.note p { color: var(--text-muted); font-size: 0.86rem; }

.contact { background: var(--surface-warm); padding: 0 0 clamp(2rem, 4vw, 3rem); }

.contact__bar {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(1rem, 2vw, 2rem);
  width: min(var(--wrap), calc(100% - var(--gutter) * 2));
  margin-inline: auto;
  padding: 1.35rem 1.4rem;
  background: var(--surface-dark);
  color: var(--neo-paper);
  border-radius: 1.15rem;
}

.contact__title {
  grid-column: 1 / -1;
  margin: 0;
  text-align: center;
  font-size: 2.05rem;
  color: var(--neo-paper);
}
.contact__photo { width: 6.5rem; height: 6.5rem; }
.contact__photo img { object-position: center 12%; }
.contact__lead {
  font-family: var(--serif);
  font-size: clamp(1.7rem, 2.6vw, 2.35rem);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.02em;
}
.contact__copy p:last-child { max-width: 38rem; margin-top: 0.55rem; color: var(--text-on-dark); font-size: 0.92rem; }
.contact__actions { display: flex; flex-wrap: wrap; gap: 0.7rem; justify-content: flex-end; }

.site-footer {
  background: var(--surface-dark);
  color: var(--text-on-dark);
  border-top: 1px solid rgba(253, 253, 253, 0.08);
}

.footer-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 1.5rem;
  width: min(var(--wrap), calc(100% - var(--gutter) * 2));
  margin-inline: auto;
  padding: 1.15rem 0 1.3rem;
}

.site-footer nav { display: flex; flex-wrap: wrap; gap: 0.85rem 1.2rem; }
.site-footer p { margin: 0; font-size: 0.88rem; }
.footer-credit a {
  color: var(--accent);
  font-weight: 600;
  text-decoration: none;
}
.footer-credit a:hover { text-decoration: underline; }

html.js [data-reveal] {
  opacity: 0;
  transform: translateY(0.8rem);
}

html.js [data-reveal].is-in {
  opacity: 1;
  transform: none;
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}

@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .card, .note { transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease); }
  .card:hover, .note:hover { transform: translateY(-3px); box-shadow: 0 16px 36px rgba(12, 12, 12, 0.1); }
  .card img, .note img { transition: transform 0.45s var(--ease); }
  .card:hover img, .note:hover img { transform: scale(1.04); }
}

@media (max-width: 1100px) {
  .practice__grid { grid-template-columns: 1fr 1fr; }
  .note-list { grid-template-columns: 1fr; }
  .note { grid-template-columns: 8.5rem minmax(0, 1fr); }
  .about__grid { grid-template-columns: 1fr 1fr; }
  .about__photo { grid-column: 1 / -1; height: 16rem; }
}

@media (max-width: 959px) {
  .header-bar .brand { gap: 0.45rem; }
  .header-bar .brand__mark { height: 2.7rem; }
  .header-bar .brand__neo { font-size: 1.32rem; letter-spacing: 0.06em; }
  .header-bar .brand__line { font-size: 0.62rem; letter-spacing: 0.01em; }
  .nav-toggle { display: inline-flex; grid-column: 3; grid-row: 1; }
  .header-actions {
    grid-column: 2;
    grid-row: 1;
    gap: 0.55rem;
  }
  .lang-switch--bar { display: none; }
  .header-cta {
    display: inline-flex;
    width: 2.75rem;
    padding: 0;
    gap: 0;
    font-size: 0;
  }
  .header-bar { grid-template-columns: 1fr auto auto; }

  .site-nav {
    display: none;
    position: fixed;
    inset: var(--header-offset) 0 0 0;
    z-index: 25;
    flex-direction: column;
    justify-content: flex-start;
    gap: 0.35rem;
    padding: 1.25rem var(--gutter) 2rem;
    background: var(--surface-dark);
  }

  .site-header.is-open .site-nav { display: flex; }
  .site-nav > a { font-family: var(--serif); font-size: clamp(1.8rem, 7vw, 2.4rem); font-weight: 600; }
  .lang-switch--menu {
    display: inline-flex;
    margin-top: 1.25rem;
    font-size: 0.9rem;
    letter-spacing: 0.16em;
  }
}

.post-photo {
  margin: 0 0 1.4rem;
  max-width: 28rem;
  overflow: hidden;
  border-radius: 0.9rem;
}
.post-photo img { width: 100%; height: auto; }

@media (max-width: 800px) {
  .hero { min-height: 100svh; }
  .hero__shade {
    background: linear-gradient(180deg, rgba(7, 22, 18, 0.2) 0%, rgba(7, 22, 18, 0.78) 46%, rgba(7, 22, 18, 0.95) 100%);
  }
  .hero__media img { object-position: center 35%; }
  .section-head,
  .contact__bar,
  .about__grid,
  .area__layout { grid-template-columns: 1fr; }
  .area__aside { position: static; }
  .hero__points { grid-template-columns: 1fr; }
  .contact__actions { justify-content: flex-start; }
  .about__photo { height: 18rem; }
}

@media (max-width: 640px) {
  .practice__grid { grid-template-columns: 1fr; }
  .card { grid-template-columns: minmax(0, 1fr) 5.8rem; min-height: 0; }
  .card figure { height: 5.6rem; }
  .about__points { grid-template-columns: 1fr 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  html.js [data-reveal] { opacity: 1; transform: none; }
  .card, .note, .card img, .note img, .btn { transition: none; }
}

@media (scripting: none) {
  [data-reveal] { opacity: 1; transform: none; }
}
