@font-face {
  font-family:'Edalat Mad Nastaliq Subset';
  src:url('../fonts/edalatmad-nastaliq.woff') format('woff');
  font-style:normal;
  font-weight:400;
  font-display:swap
}

:root {
  --burgundy:#591C24;
  --charcoal:#171717;
  --gold:#B39255;
  --ivory:#F7F4EE;
  --beige:#EEE8DD;
  --body:#333333;
  --white:#FCFBF8;
  --line:#d9d0c2;
  --content:1180px
}

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

html {
  scroll-behavior:smooth;
  scroll-padding-top:88px
}

body {
  margin:0;
  background:var(--white);
  color:var(--body);
  font-family:Vazirmatn,Tahoma,sans-serif;
  font-size:1rem;
  line-height:1.85
}

html[lang=en] body {
  font-family:Inter,Arial,sans-serif;
  line-height:1.7
}

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

button {
  font:inherit
}

button,a {
  -webkit-tap-highlight-color:transparent
}

a:focus-visible,button:focus-visible {
  outline:3px solid var(--gold);
  outline-offset:4px
}

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

h1,h2,h3 {
  color:var(--charcoal);
  line-height:1.3
}

html[lang=en] h1,html[lang=en] h2,html[lang=en] h3 {
  font-family:'Playfair Display',Georgia,serif;
  font-weight:600
}

.container {
  width:min(calc(100% - 48px),var(--content));
  margin-inline:auto
}

.skip-link {
  position:fixed;
  z-index:100;
  inset-block-start:-100px;
  inset-inline-start:20px;
  background:var(--white);
  color:var(--burgundy);
  padding:8px 16px
}

.skip-link:focus {
  inset-block-start:12px
}

.site-header {
  position:sticky;
  top:0;
  z-index:50;
  background:var(--white);
  border-bottom:1px solid rgba(23,23,23,.09);
  box-shadow:0 3px 18px rgba(20,10,10,.035)
}

.header-inner {
  height:84px;
  display:flex;
  align-items:center;
  gap:40px
}

.brand {
  display:flex;
  align-items:center;
  gap:24px;
  min-width:0;
  color:var(--burgundy)
}

.brand-mark {
  width:42px;
  height:42px;
  flex:none;
  border:1px solid var(--burgundy);
  display:grid;
  place-items:center;
  transform:rotate(45deg)
}

.brand-mark span {
  width:23px;
  height:23px;
  border:1px solid var(--gold);
  display:block
}

.brand-text {
  font-size:1rem;
  font-weight:700;
  line-height:1.35;
  max-width:255px
}

html[lang=en] .brand-text {
  font-family:'Playfair Display',Georgia,serif;
  font-size:1.18rem
}

.site-nav {
  display:flex;
  align-items:center;
  gap:32px;
  margin-inline-start:auto
}

.site-nav a {
  position:relative;
  font-size:.91rem;
  font-weight:600;
  white-space:nowrap;
  color:var(--charcoal);
  padding:8px 0
}

.site-nav a::after {
  content:"";
  position:absolute;
  inset-inline:0;
  bottom:2px;
  height:1px;
  background:var(--gold);
  transform:scaleX(0);
  transform-origin:center;
  transition:transform .2s
}

.site-nav a:hover::after,.site-nav a:focus-visible::after {
  transform:scaleX(1)
}

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

.language-button {
  display:flex;
  align-items:center;
  gap:8px;
  border:1px solid var(--line);
  background:transparent;
  color:var(--burgundy);
  padding:7px 12px;
  min-height:42px;
  cursor:pointer;
  font-size:.87rem;
  font-weight:700;
  white-space:nowrap
}

.language-button:hover {
  background:var(--ivory)
}

.language-icon {
  font-family:serif;
  font-size:1rem;
  line-height:1
}

.menu-button {
  display:none;
  width:42px;
  height:42px;
  border:1px solid var(--line);
  background:transparent;
  padding:11px;
  cursor:pointer
}

.menu-button span {
  display:block;
  height:2px;
  background:var(--burgundy);
  margin:4px 0
}

.hero {
  position:relative;
  overflow:hidden;
  background:var(--burgundy);
  color:var(--white)
}

.hero-pattern {
  position:absolute;
  inset:0;
  opacity:.13;
  pointer-events:none;
  background-image:repeating-linear-gradient(45deg,transparent 0,transparent 49px,rgba(247,244,238,.32) 50px,transparent 51px),repeating-linear-gradient(-45deg,transparent 0,transparent 49px,rgba(247,244,238,.32) 50px,transparent 51px);
  mask-image:linear-gradient(to right,transparent,black 65%)
}

html[dir=rtl] .hero-pattern {
  transform:scaleX(-1)
}

.hero-grid {
  position:relative;
  min-height:610px;
  display:grid;
  grid-template-columns:minmax(0,1.25fr) minmax(0,.75fr);
  align-items:center;
  gap:48px;
  padding-block:80px 86px
}

.hero-content {
  max-width:680px
}

.eyebrow {
  color:var(--burgundy);
  font-size:.78rem;
  font-weight:700;
  letter-spacing:.19em;
  text-transform:uppercase;
  margin-bottom:22px
}

html[lang=fa] .eyebrow {
  letter-spacing:0
}

.eyebrow::before {
  content:"";
  display:inline-block;
  width:28px;
  height:1px;
  background:var(--gold);
  vertical-align:middle;
  margin-inline-end:12px
}

.eyebrow.light {
  color:#e8d9c9
}

.hero h1 {
  font-size:clamp(2.5rem,5vw,5rem);
  color:var(--white);
  letter-spacing:-.025em;
  line-height:1.27;
  margin:0 0 22px
}

html[lang=fa] .hero h1 {
  font-weight:700;
  letter-spacing:0;
  max-width:760px
}

.hero-tagline {
  font-size:clamp(1.2rem,2.1vw,1.7rem);
  font-weight:600;
  color:#e6ccac;
  margin-bottom:22px
}

.hero-intro {
  font-size:1.05rem;
  line-height:2;
  max-width:660px;
  color:#eee5e2;
  margin-bottom:32px
}

.hero-actions {
  display:flex;
  flex-wrap:wrap;
  gap:12px
}

.button {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:48px;
  padding:11px 24px;
  border:1px solid transparent;
  font-size:.91rem;
  font-weight:700;
  line-height:1.4;
  transition:background .2s,color .2s,border-color .2s,transform .2s
}

.button:hover {
  transform:translateY(-2px)
}

.button-light {
  background:var(--white);
  color:var(--burgundy)
}

.button-light:hover {
  background:var(--beige)
}

.button-outline {
  border-color:rgba(252,251,248,.6);
  color:var(--white)
}

.button-outline:hover {
  background:rgba(252,251,248,.1)
}

.hero-emblem {
  justify-self:center;
  text-align:center;
  width:min(100%,320px)
}

.emblem-frame {
  position:relative;
  aspect-ratio:1;
  border:1px solid rgba(237,211,175,.48);
  display:grid;
  place-items:center;
  transform:rotate(45deg);
  margin:38px
}

.emblem-frame::before,.emblem-frame::after {
  content:"";
  position:absolute;
  inset:15px;
  border:1px solid rgba(237,211,175,.33)
}

.emblem-frame::after {
  inset:31px
}

.emblem-core {
  transform:rotate(-45deg);
  font-family:'Playfair Display',Georgia,serif;
  color:#f4e6d5;
  font-size:clamp(4rem,8vw,7rem);
  font-weight:500;
  letter-spacing:-.08em;
  padding-right:.08em
}

.emblem-persian-top,.emblem-persian-bottom {
  display:none
}

.emblem-lines {
  position:absolute;
  width:120px;
  height:1px;
  background:var(--gold);
  transform:rotate(-45deg);
  opacity:.5
}

.emblem-caption {
  display:block;
  padding-top:42px;
  font-family:Inter,Arial,sans-serif;
  font-size:.69rem;
  letter-spacing:.28em;
  color:#e3c9b1;
  white-space:nowrap
}

.hero-bottom {
  position:absolute;
  inset-inline:24px;
  bottom:15px;
  display:flex;
  align-items:center;
  gap:20px;
  font-family:Inter,Arial,sans-serif;
  font-size:.64rem;
  letter-spacing:.18em;
  color:#cfb8aa
}

.hero-bottom-line {
  height:1px;
  flex:1;
  background:rgba(247,244,238,.25)
}

.section {
  padding-block:108px
}

.about-section {
  background:var(--white)
}

.about-grid {
  display:grid;
  grid-template-columns:.78fr 1.22fr;
  gap:9%;
  align-items:start
}

.section-heading h2 {
  font-size:clamp(2rem,3.5vw,3.4rem);
  margin-bottom:24px
}

.small-rule {
  display:block;
  width:68px;
  height:2px;
  background:var(--gold)
}

.about-copy>.lead {
  font-size:1.24rem;
  font-weight:600;
  line-height:1.9;
  color:var(--burgundy);
  margin-bottom:18px
}

.about-copy>p:not(.lead) {
  color:#555;
  max-width:730px
}

.fact-grid {
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:0;
  margin-top:42px;
  border-top:1px solid var(--line);
  border-inline-start:1px solid var(--line)
}

.fact {
  min-height:132px;
  padding:24px;
  border-inline-end:1px solid var(--line);
  border-bottom:1px solid var(--line)
}

.fact strong {
  display:block;
  color:var(--burgundy);
  font-size:1.6rem;
  line-height:1.5
}

.fact span {
  font-size:.9rem;
  color:#555
}

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

.services-head {
  display:flex;
  justify-content:space-between;
  align-items:end;
  gap:50px;
  margin-bottom:35px
}

.services-head .section-heading h2 {
  margin-bottom:0
}

.services-head>p {
  max-width:390px;
  margin:0 0 5px;
  color:#5a5550
}

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

.service-card {
  position:relative;
  background:var(--white);
  padding:32px 30px 34px;
  min-height:260px;
  transition:background .2s
}

.service-card:hover {
  background:#fff
}

.service-number {
  display:block;
  color:var(--gold);
  font-family:Inter,Arial,sans-serif;
  font-size:.82rem;
  letter-spacing:.1em;
  margin-bottom:25px
}

.service-card h3 {
  font-size:1.27rem;
  color:var(--burgundy);
  margin-bottom:13px
}

.service-card p {
  font-size:.94rem;
  color:#555;
  line-height:1.85;
  margin:0
}

.service-card::after {
  content:"";
  position:absolute;
  inset-inline-start:30px;
  bottom:20px;
  width:30px;
  height:1px;
  background:var(--gold);
  transition:width .2s
}

.service-card:hover::after {
  width:56px
}

.approach-section {
  background:var(--charcoal);
  color:var(--white);
  padding-block:76px
}

.approach-grid {
  display:grid;
  grid-template-columns:1fr 1fr;
  align-items:center;
  gap:9%
}

.approach-section h2 {
  color:var(--white);
  font-size:clamp(1.9rem,3vw,3rem);
  margin:0
}

.approach-section p:not(.eyebrow) {
  color:#d3d0ca;
  font-size:1.08rem;
  line-height:1.9;
  margin-bottom:23px
}

.text-link {
  display:inline-block;
  color:#e3bf8d;
  border-bottom:1px solid var(--gold);
  padding-bottom:4px;
  font-weight:700
}

.text-link:hover {
  color:var(--white)
}

.contact-section {
  background:var(--beige)
}

.contact-grid {
  display:grid;
  grid-template-columns:.8fr 1.2fr;
  gap:9%;
  align-items:start
}

.contact-intro {
  color:#5b5550;
  max-width:350px;
  line-height:1.9
}

.contact-card {
  background:var(--white);
  border:1px solid #e2dacd;
  padding:34px 40px;
  box-shadow:0 12px 35px rgba(39,25,19,.035)
}

.contact-row {
  display:grid;
  grid-template-columns:125px 1fr;
  gap:22px;
  padding:16px 0;
  border-bottom:1px solid var(--line)
}

.contact-row:first-child {
  padding-top:0
}

.contact-row>span:first-child {
  color:#777;
  font-size:.9rem
}

.contact-row>a {
  color:var(--burgundy);
  font-weight:700;
  overflow-wrap:anywhere;
  text-align:start
}

.contact-row>a:hover {
  text-decoration:underline
}

.contact-row>span:last-child {
  font-weight:600
}

.contact-actions {
  display:flex;
  flex-wrap:wrap;
  gap:11px;
  margin-top:28px
}

.button-burgundy {
  background:var(--burgundy);
  color:var(--white)
}

.button-burgundy:hover {
  background:#42151c
}

.button-plain {
  border-color:var(--burgundy);
  color:var(--burgundy)
}

.button-plain:hover {
  background:var(--ivory)
}

.footer {
  background:var(--burgundy);
  color:#efe5df;
  padding:28px 0
}

.footer-inner {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px
}

.footer-brand {
  display:flex;
  align-items:center;
  gap:10px;
  font-weight:700
}

.footer-mark {
  display:grid;
  place-items:center;
  width:33px;
  height:33px;
  border:1px solid var(--gold);
  font-family:Georgia,serif;
  font-size:.82rem
}

.footer p {
  margin:0;
  font-size:.82rem;
  color:#dfd0cc
}

.footer a {
  font-size:.82rem;
  color:#e6c299;
  text-decoration:underline;
  text-underline-offset:5px
}

@media(max-width:900px) {
  .header-inner {
    gap:20px
  }
  .site-nav {
    gap:18px
  }
  .brand-text {
    max-width:180px
  }
  .hero-grid {
    grid-template-columns:1fr .55fr
  }
  .hero-emblem {
    opacity:.75
  }
  .emblem-frame {
    margin:24px
  }
  .section {
    padding-block:82px
  }
  .services-grid {
    grid-template-columns:repeat(2,minmax(0,1fr))
  }
  .about-grid,.contact-grid {
    gap:5%
  }
}

@media(max-width:700px) {
  html {
    scroll-padding-top:72px
  }
  .container {
    width:min(calc(100% - 36px),var(--content))
  }
  .header-inner {
    height:72px
  }
  .brand-mark {
    width:34px;
    height:34px
  }
  .brand-mark span {
    width:19px;
    height:19px
  }
  .brand-text {
    font-size:.86rem;
    max-width:190px
  }
  html[lang=en] .brand-text {
    font-size:1rem
  }
  .header-actions {
    margin-inline-start:auto
  }
  .menu-button {
    display:block
  }
  .site-nav {
    position:absolute;
    top:72px;
    inset-inline:0;
    display:none;
    flex-direction:column;
    align-items:stretch;
    gap:0;
    margin:0;
    padding:10px 18px 18px;
    background:var(--white);
    border-bottom:1px solid var(--line);
    box-shadow:0 12px 18px rgba(23,23,23,.08)
  }
  .site-nav.is-open {
    display:flex
  }
  .site-nav a {
    padding:12px 5px;
    border-bottom:1px solid var(--line)
  }
  .site-nav a::after {
    display:none
  }
  .hero-grid {
    min-height:0;
    display:block;
    padding-block:76px 96px
  }
  .hero-content {
    max-width:630px
  }
  .hero h1 {
    font-size:clamp(2.3rem,8vw,3.5rem)
  }
  .hero-intro {
    font-size:1rem
  }
  .hero-emblem {
    display:none
  }
  .hero-pattern {
    opacity:.08
  }
  .hero-bottom {
    inset-inline:18px
  }
  .about-grid,.contact-grid,.approach-grid {
    grid-template-columns:1fr;
    gap:30px
  }
  .services-head {
    display:block
  }
  .services-head>p {
    margin-top:18px
  }
  .section {
    padding-block:72px
  }
  .approach-section {
    padding-block:68px
  }
  .footer-inner {
    flex-wrap:wrap
  }
  .footer p {
    order:3;
    width:100%
  }
}

@media(max-width:500px) {
  .header-inner {
    gap:8px
  }
  .brand {
    gap:18px
  }
  .brand-text {
    max-width:140px;
    font-size:.75rem
  }
  html[lang=en] .brand-text {
    font-size:.85rem;
    max-width:116px
  }
  .language-button {
    padding:6px 8px;
    font-size:.76rem
  }
  .language-icon {
    display:none
  }
  .header-actions {
    gap:6px
  }
  .hero-grid {
    padding-block:63px 88px
  }
  .hero h1 {
    font-size:2.35rem
  }
  .hero-actions .button {
    flex:1
  }
  .fact-grid {
    margin-top:30px
  }
  .fact {
    padding:17px;
    min-height:115px
  }
  .fact strong {
    font-size:1.3rem
  }
  .services-grid {
    grid-template-columns:1fr
  }
  .service-card {
    min-height:0;
    padding:27px 25px 42px
  }
  .service-card::after {
    inset-inline-start:25px
  }
  .contact-card {
    padding:25px 23px
  }
  .contact-row {
    grid-template-columns:1fr;
    gap:2px
  }
  .contact-actions .button {
    flex:1
  }
  .footer-brand {
    max-width:75%
  }
}

@media(prefers-reduced-motion:reduce) {
  html {
    scroll-behavior:auto
  }
  *,*::before,*::after {
    transition-duration:.01ms!important;
    animation-duration:.01ms!important
  }
}

html[lang=fa] .emblem-core,html[lang=fa] .emblem-caption,html[lang=fa] .footer-mark {
  font-family:Vazirmatn,Tahoma,sans-serif;
  letter-spacing:0
}

html[lang=fa] .emblem-core {
  display:grid;
  grid-template-rows:1fr 1fr;
  align-items:center;
  justify-items:center;
  width:170px;
  height:160px;
  padding:0;
  font-size:1rem
}

html[lang=fa] .emblem-monogram {
  display:none
}

html[lang=fa] .emblem-persian-top,html[lang=fa] .emblem-persian-bottom {
  display:block;
  white-space:nowrap;
  font-family:'Edalat Mad Nastaliq Subset',Vazirmatn,Tahoma,sans-serif;
  font-weight:400;
  line-height:1.2
}

html[lang=fa] .emblem-persian-top {
  align-self:start;
  margin-top:10px;
  font-size:2.75rem
}

html[lang=fa] .emblem-persian-bottom {
  align-self:end;
  font-size:3.8rem
}
