@font-face {
  font-family: "IRANYekanX";
  src: url("../fonts/IRANYekanX-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "IRANYekanX";
  src: url("../fonts/IRANYekanX-DemiBold.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "IRANYekanX";
  src: url("../fonts/IRANYekanX-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --paper: #ffffff;
  --ivory: #f8f5f0;
  --cream: #efe6da;
  --beige: #d8cbbe;
  --champagne: #c8b79f;
  --ink: #292a28;
  --muted: #60625e;
  --sage: #a7ae9b;
  --olive: #555b4d;
  --line: rgba(41, 42, 40, 0.16);
  --radius: 2px;
  --shell: min(1180px, calc(100% - 32px));
  --ease: 180ms ease;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "IRANYekanX", Tahoma, "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.85;
  text-rendering: optimizeLegibility;
}

body.admin-bar .site-header {
  top: 32px;
}

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

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

button,
input,
textarea,
select {
  font: inherit;
}

.shell {
  width: var(--shell);
  margin-inline: auto;
}

.narrow {
  max-width: 760px;
}

.skip-link {
  position: fixed;
  inset-block-start: 8px;
  inset-inline-start: 8px;
  z-index: 1000;
  padding: 10px 16px;
  background: var(--ink);
  color: #fff;
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(12px);
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
}

.header-inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-photo,
.brand-mark {
  width: 42px;
  height: 42px;
  object-fit: cover;
  object-position: center 18%;
  border: 1px solid var(--ink);
}

.brand-mark {
  display: grid;
  place-items: center;
  font-family: Georgia, serif;
  letter-spacing: 0.08em;
}

.brand strong,
.brand small {
  display: block;
  line-height: 1.35;
}

.brand small {
  font-size: 0.75rem;
  color: var(--muted);
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.primary-nav ul {
  display: flex;
  gap: 22px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.primary-nav a:not(.button) {
  text-underline-offset: 6px;
}

.primary-nav a:hover,
.primary-nav a:focus-visible {
  text-decoration: underline;
}

.nav-toggle {
  display: none;
  min-width: 48px;
  min-height: 44px;
  border: 1px solid var(--ink);
  background: transparent;
}

.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 48px;
  padding: 10px 24px;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: #fff;
  font-weight: 700;
  transition: background var(--ease), color var(--ease), transform var(--ease);
}

.button:hover {
  background: var(--olive);
  border-color: var(--olive);
}

.button:active {
  transform: translateY(1px);
}

.button-small {
  min-height: 42px;
  padding: 7px 18px;
}

.button-ghost {
  background: transparent;
  color: var(--ink);
}

.button-ghost:hover {
  color: #fff;
}

.is-disabled {
  opacity: 0.56;
  cursor: not-allowed;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.eyebrow {
  display: inline-block;
  color: var(--olive);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.hero {
  background: linear-gradient(90deg, var(--ivory), #fff);
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  grid-template-areas: "copy portrait";
  min-height: 680px;
  align-items: stretch;
}

.hero-copy {
  grid-area: copy;
  align-self: center;
  padding: 88px 0 88px 8vw;
}

.hero h1,
.page-header h1 {
  max-width: 760px;
  margin: 18px 0 24px;
  font-size: clamp(2.5rem, 6vw, 5.8rem);
  line-height: 1.3;
  font-weight: 600;
  letter-spacing: -0.04em;
}

.hero p {
  max-width: 590px;
  color: var(--muted);
  font-size: 1.08rem;
}

.hero .button-row {
  margin-top: 32px;
}

.hero-portrait {
  grid-area: portrait;
  min-height: 560px;
  margin: 0;
  background: var(--cream);
  overflow: hidden;
}

.hero-portrait img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
}

.hero-facts {
  display: flex;
  gap: 40px;
  margin: 56px 0 0;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.hero-facts div {
  display: grid;
  gap: 4px;
}

.hero-facts dt {
  color: var(--muted);
  font-size: 0.8rem;
}

.hero-facts dd {
  margin: 0;
  font-weight: 700;
}

.section {
  padding: 96px 0;
}

.section h2 {
  margin: 12px 0 20px;
  font-size: clamp(2rem, 4vw, 3.7rem);
  line-height: 1.4;
  font-weight: 600;
  letter-spacing: -0.03em;
}

.intro {
  text-align: center;
}

.intro p {
  color: var(--muted);
  font-size: 1.1rem;
}

.services-section {
  background: var(--ivory);
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 36px;
}

.section-heading h2 {
  margin-bottom: 0;
}

.text-link {
  font-weight: 700;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 7px;
}

.service-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
}

.service-list li {
  border-bottom: 1px solid var(--line);
}

.service-list a {
  display: grid;
  grid-template-columns: 64px 1fr auto;
  align-items: center;
  gap: 24px;
  min-height: 112px;
  padding: 22px 0;
}

.service-list a:hover strong {
  color: var(--olive);
}

.service-list strong,
.service-list small {
  display: block;
}

.service-list strong {
  font-size: 1.24rem;
}

.service-list small {
  color: var(--muted);
}

.service-number {
  color: var(--champagne);
  font: 2.2rem Georgia, serif;
}

.service-price {
  white-space: nowrap;
  font-weight: 700;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8vw;
  align-items: center;
}

.about-strip {
  background: var(--ink);
  color: #fff;
}

.about-strip .eyebrow {
  color: var(--sage);
}

.statement {
  padding-inline-start: 7vw;
  border-inline-start: 1px solid rgba(255, 255, 255, 0.25);
  font-size: clamp(1.35rem, 3vw, 2.2rem);
  line-height: 1.75;
}

.why-section {
  background: var(--paper);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.why-grid article {
  padding: 32px;
  background: var(--ivory);
}

.why-grid h3 {
  margin: 0 0 12px;
  font-size: 1.25rem;
}

.why-grid p {
  margin: 0;
  color: var(--muted);
}

.team-section {
  background: var(--ivory);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.person-card {
  background: var(--paper);
}

.person-card a {
  display: grid;
  height: 100%;
}

.person-card figure {
  margin: 0;
  aspect-ratio: 3 / 4;
  background: var(--cream);
  overflow: hidden;
}

.person-card img,
.person-photo-fallback {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
}

.person-photo-fallback {
  display: grid;
  place-items: center;
  color: var(--olive);
  font: 4rem Georgia, serif;
}

.person-card-copy {
  padding: 24px;
}

.person-card-copy h3 {
  margin: 8px 0 10px;
  font-size: 1.4rem;
}

.person-card-copy p {
  margin: 0;
  color: var(--muted);
}

.editorial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.editorial-grid article {
  min-height: 290px;
  padding: 32px;
  background: #fff;
}

.editorial-grid h2,
.editorial-grid h3 {
  font-size: 1.35rem;
  line-height: 1.55;
}

.editorial-grid p {
  color: var(--muted);
}

.article-meta {
  color: var(--olive);
  font-size: 0.78rem;
}

.faq-section {
  background: var(--ivory);
}

details {
  border-bottom: 1px solid var(--line);
}

summary {
  min-height: 64px;
  padding: 20px 0;
  cursor: pointer;
  font-weight: 700;
  list-style-position: inside;
}

details p {
  padding: 0 20px 20px;
  color: var(--muted);
}

.contact-cta {
  background: var(--cream);
}

.contact-cta .button-row {
  justify-content: flex-end;
}

.site-footer {
  padding: 80px 0 28px;
  background: var(--ink);
  color: #fff;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 0.8fr;
  gap: 7vw;
}

.footer-grid h2 {
  font-size: 2rem;
  line-height: 1.4;
}

.footer-grid h3 {
  font-size: 1rem;
}

.footer-grid ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-grid .eyebrow {
  color: var(--sage);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  margin-top: 56px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.78rem;
}

.mobile-cta {
  display: none;
}

.page-header {
  max-width: 850px;
  margin-bottom: 52px;
}

.page-header p {
  color: var(--muted);
}

.content-shell {
  max-width: 860px;
}

.entry-content {
  font-size: 1.05rem;
}

.entry-content h2 {
  font-size: 2rem;
}

.entry-content a {
  text-decoration: underline;
}

.entry-content > * + * {
  margin-top: 1.5em;
}

.featured-media {
  margin-bottom: 36px;
}

.about-layout .page-header {
  margin-bottom: 40px;
}

.about-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 6vw;
  align-items: start;
}

.about-portrait {
  margin: 0;
  background: var(--cream);
}

.about-portrait img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  object-position: center 18%;
}

.about-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 36px 0;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.about-facts dt {
  color: var(--muted);
  font-size: 0.8rem;
}

.about-facts dd {
  margin: 4px 0 0;
  font-weight: 700;
}

.service-summary {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  margin: 0 0 44px;
  background: var(--line);
  border: 1px solid var(--line);
}

.service-summary > div {
  padding: 24px;
  background: var(--ivory);
}

.service-summary span,
.service-summary strong,
.service-summary small {
  display: block;
}

.service-summary strong {
  font-size: 1.4rem;
}

.service-summary small {
  color: var(--muted);
}

.notice,
.empty-state {
  padding: 20px;
  border-inline-start: 4px solid var(--olive);
  background: var(--ivory);
  color: var(--muted);
}

.nav-links {
  display: flex;
  gap: 16px;
  margin-top: 40px;
}

:focus-visible {
  outline: 3px solid #876d48;
  outline-offset: 3px;
}

@media (max-width: 860px) {
  body {
    padding-bottom: 72px;
  }

  .site-header {
    position: relative;
  }

  .nav-toggle {
    display: block;
  }

  .primary-nav {
    position: absolute;
    inset: 76px 16px auto;
    display: none;
    align-items: stretch;
    padding: 20px;
    background: #fff;
    border: 1px solid var(--line);
    box-shadow: 0 18px 50px rgba(41, 42, 40, 0.12);
  }

  .primary-nav.is-open {
    display: grid;
  }

  .primary-nav ul {
    display: grid;
    gap: 0;
  }

  .primary-nav li a {
    display: block;
    padding: 10px 0;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    grid-template-areas: "copy" "portrait";
  }

  .hero-copy {
    padding: 64px 0 40px;
  }

  .hero-portrait {
    min-height: 0;
    aspect-ratio: 4 / 5;
  }

  .hero-portrait img {
    object-position: center 12%;
  }

  .split,
  .footer-grid,
  .about-grid,
  .why-grid {
    grid-template-columns: 1fr;
  }

  .statement {
    padding: 32px 0 0;
    border-inline-start: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.25);
  }

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

  .contact-cta .button-row {
    justify-content: flex-start;
  }

  .footer-bottom,
  .about-facts {
    display: grid;
  }

  .mobile-cta {
    position: fixed;
    inset: auto 0 0;
    z-index: 90;
    display: block;
    padding: 10px 16px;
    background: rgba(255, 255, 255, 0.96);
    border-top: 1px solid var(--line);
  }

  .mobile-cta .button {
    width: 100%;
  }
}

@media (max-width: 560px) {
  :root {
    --shell: calc(100% - 28px);
  }

  .section {
    padding: 68px 0;
  }

  .hero h1,
  .page-header h1 {
    font-size: 2.65rem;
  }

  .hero-facts {
    display: grid;
    gap: 16px;
    margin-top: 36px;
  }

  .section-heading {
    align-items: start;
  }

  .service-list a {
    grid-template-columns: 44px 1fr;
    gap: 12px;
  }

  .service-price {
    grid-column: 2;
  }

  .service-summary {
    grid-template-columns: 1fr;
  }

  .button-row .button {
    width: 100%;
  }
}

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

@media print {
  .site-header,
  .mobile-cta,
  .site-footer {
    display: none;
  }

  .section {
    padding: 20px 0;
  }
}
