:root {
  color-scheme: light;
  font-family: 'Mulish', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  line-height: 1.6;
  font-weight: 400;
  color: #241a1b;
  background: #faf7f1;
  --deep: #7a1620;
  --deepA: #59100d;
  --deepB: #33090b;
  --acc: #d0a03c;
  --acc2: #ecc873;
  --text: #241a1b;
  --muted: #5a4c45;
  --surface: #faf7f1;
  --panel: #f0eadf;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: #faf7f1;
  color: var(--text);
}

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

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

.page-shell {
  width: 100%;
  margin: 0;
  background: #faf7f1;
  overflow: hidden;
}

.container {
  width: min(1280px, 100%);
  margin: 0 auto;
  padding: 0 2rem;
}

.utility-bar {
  background: var(--deepA);
  color: #f0e2cf;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 2rem;
  font-size: 12.5px;
  letter-spacing: 0.3px;
}

.utility-links,
.utility-languages {
  display: flex;
  gap: 24px;
  align-items: center;
}

.accent-text {
  color: var(--acc2);
}

.separator {
  opacity: 0.4;
}

.main-header {
  background: #faf7f1;
  border-bottom: 1px solid rgba(89, 16, 13, 0.14);
  position: sticky;
  top: 0;
  z-index: 20;
}

.nav-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 0;
}

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

.brand img {
  height: 50px;
}

.brand-text {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 700;
  font-size: clamp(15px, 1.5vw, 20px);
  line-height: 1.05;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--deep);
  white-space: nowrap;
}

.nav-links {
  display: flex;
  gap: 30px;
  align-items: center;
  font-family: 'Marcellus', serif;
  font-size: 15px;
  letter-spacing: 0.5px;
  color: #3a2b28;
}

.nav-links a {
  padding-bottom: 3px;
}

/* Mobile menu toggle — hidden on desktop, shown only in the mobile media query */
.nav-toggle {
  display: none;
}

.nav-links a.active,
.nav-links a:hover {
  color: var(--deep);
  border-bottom: 2px solid var(--acc);
}

.contact-pill {
  border: 1.5px solid var(--acc);
  color: var(--deep);
  padding: 9px 20px;
  border-radius: 2px;
  font-size: 13px;
}

.hero-section {
  background-color: #faf7f1;
  background-image:
    linear-gradient(
      90deg,
      rgba(250, 247, 241, 0.97) 0%,
      rgba(250, 247, 241, 0.9) 30%,
      rgba(250, 247, 241, 0.4) 52%,
      rgba(250, 247, 241, 0) 70%
    ),
    url('assets/mert-aydede-background.jpg');
  background-size: cover, contain;
  background-position: center, center right;
  background-repeat: no-repeat;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 0;
  min-height: 600px;
  align-items: center;
}

/* Portrait shown as its own clean block on mobile (see media query); hidden on desktop */
.hero-mobile-photo {
  display: none;
}

.hero-copy {
  padding: 82px 2rem 82px 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.section-kicker {
  font-family: 'Marcellus', serif;
  letter-spacing: 3px;
  font-size: 13px;
  color: var(--acc);
  margin: 0 0 22px;
}

h1,
h2,
h3 {
  font-family: 'Cormorant Garamond', serif;
  line-height: 1.08;
  margin: 0;
}

h1 {
  font-weight: 600;
  font-size: clamp(2.8rem, 5vw, 3.6rem);
  color: var(--text);
  letter-spacing: 0.3px;
  margin-bottom: 22px;
}

h2 {
  font-weight: 600;
  font-size: clamp(2rem, 3.6vw, 2.4rem);
  color: var(--text);
}

.divider {
  width: 56px;
  height: 2px;
  background: var(--acc);
  margin-bottom: 22px;
}

.divider.center {
  margin: 16px auto 0;
}

.hero-text,
.about-copy p,
.info-card p,
.testimonial-card p,
.cta-box p,
.site-footer p,
.site-footer span {
  font-size: 15px;
  line-height: 1.8;
  color: #4d3f39;
}

.hero-text {
  max-width: 440px;
  margin: 0 0 32px;
}

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

.button {
  display: inline-block;
  padding: 15px 30px;
  font-family: 'Marcellus', serif;
  letter-spacing: 0.8px;
  font-size: 14px;
  border: 1.5px solid transparent;
  cursor: pointer;
}

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

.button.secondary {
  border-color: #241a1b;
  color: #241a1b;
}

.button.primary.dark {
  background: var(--acc);
  color: #241a1b;
}

.hero-visual,
.about-visual {
  position: relative;
  background: repeating-linear-gradient(135deg, #efe9dd 0 14px, #e6dece 14px 28px);
  min-height: 560px;
  border-left: 1px solid rgba(89, 16, 13, 0.1);
}

.hero-frame,
.about-frame {
  position: absolute;
  inset: 26px;
  border: 1px solid var(--acc);
}

.hero-placeholder,
.about-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: ui-monospace, monospace;
  font-size: 12px;
  color: #8a7a63;
  letter-spacing: 1px;
}

.stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--deepA);
  color: #f3e6d3;
}

.stat-item {
  padding: 34px 30px;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-item:last-child {
  border-right: none;
}

.stat-number {
  font-family: 'Cormorant Garamond', serif;
  font-size: 44px;
  color: var(--acc2);
  line-height: 1;
}

.stat-label {
  font-size: 12.5px;
  letter-spacing: 0.5px;
  margin-top: 4px;
  opacity: 0.85;
}

.section {
  padding: 84px 0;
}

.practice-section {
  background: #faf7f1;
  text-align: center;
}

.section-heading {
  margin-bottom: 52px;
  text-align: center;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(89, 16, 13, 0.12);
  border: 1px solid rgba(89, 16, 13, 0.12);
}

.info-card {
  background: #faf7f1;
  padding: 40px 34px;
  text-align: left;
}

.card-index {
  font-family: 'Cormorant Garamond', serif;
  font-size: 26px;
  color: var(--acc);
  margin-bottom: 14px;
}

.info-card h3 {
  font-size: 25px;
  font-weight: 600;
  margin: 0 0 10px;
  color: var(--deep);
}

.info-card a,
.text-link {
  display: inline-block;
  margin-top: 16px;
  font-family: 'Marcellus', serif;
  font-size: 13px;
  letter-spacing: 0.5px;
  color: #241a1b;
}

.about-section {
  background: #f0eadf;
}

.about-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 0;
}

.about-visual {
  min-height: 480px;
  border-left: none;
  border-right: 1px solid rgba(89, 16, 13, 0.1);
}

.about-copy {
  padding: 80px 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.about-copy h2 {
  margin: 0 0 22px;
}

.about-copy p {
  margin: 0 0 16px;
}

.testimonial-section {
  padding: 88px 0;
  background: #faf7f1;
}

.testimonial-card {
  text-align: center;
  max-width: 840px;
  margin: 0 auto;
}

.quote-mark {
  font-family: 'Cormorant Garamond', serif;
  font-size: 80px;
  color: var(--acc);
  line-height: 0.5;
  height: 40px;
}

.testimonial-card p {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 32px;
  line-height: 1.4;
  color: #241a1b;
  margin: 0 auto 28px;
}

.testimonial-card span {
  font-family: 'Marcellus', serif;
  letter-spacing: 1px;
  font-size: 13px;
  color: var(--deep);
}

.cta-section {
  padding: 70px 0 84px;
}

.cta-box {
  background: var(--deepA);
  color: #f3e6d3;
  padding: 70px 44px;
  text-align: center;
}

.cta-box h2 {
  color: white;
  margin-bottom: 14px;
}

.cta-box p {
  opacity: 0.85;
  max-width: 560px;
  margin: 0 auto 30px;
}

.site-footer {
  background: #241a1b;
  color: #c9bcae;
  padding: 56px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo {
  display: inline-block;
  height: 74px;
  box-sizing: content-box;
  padding: 14px 20px;
  background: var(--surface);
  border-radius: 14px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.28);
  margin-bottom: 20px;
}

.site-footer h3 {
  font-family: 'Marcellus', serif;
  letter-spacing: 1px;
  color: var(--acc2);
  font-size: 13px;
  margin: 0 0 16px;
}

.site-footer a,
.site-footer span {
  display: block;
  margin-bottom: 10px;
  font-size: 13.5px;
  opacity: 0.8;
  color: #c9bcae;
}

.footer-bottom {
  padding-top: 22px;
  font-size: 12px;
  opacity: 0.55;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

@media (max-width: 960px) {
  .hero-grid,
  .about-grid,
  .footer-grid,
  .cards-grid,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    min-height: auto;
  }

  /* On mobile, drop the faint background and show the portrait as a clean block */
  .hero-section {
    background-image: none;
    background-color: #faf7f1;
  }

  .hero-copy {
    padding-top: 56px;
    padding-bottom: 28px;
  }

  .hero-mobile-photo {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 10px;
  }

  .hero-visual,
  .about-visual {
    min-height: 320px;
    border-left: none;
    border-right: none;
  }

  .stats-bar {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 760px) {
  .utility-bar,
  .hero-copy,
  .about-copy,
  .cta-box,
  .contact-form-card,
  .contact-info-card {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }

  /* Keep brand + hamburger on one row; menu drops below when open */
  .nav-bar {
    flex-wrap: wrap;
  }

  .brand {
    gap: 10px;
  }

  .brand img {
    height: 44px;
  }

  .brand-text {
    font-size: 14px;
    letter-spacing: 0.5px;
  }

  .nav-toggle {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    padding: 11px;
    border: 1px solid rgba(89, 16, 13, 0.25);
    border-radius: 8px;
    background: none;
    cursor: pointer;
  }

  .nav-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--deep);
    transition: transform 0.25s ease, opacity 0.25s ease;
  }

  .nav-toggle[aria-expanded='true'] span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .nav-toggle[aria-expanded='true'] span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle[aria-expanded='true'] span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .nav-links {
    display: none;
    order: 3;
    flex-basis: 100%;
    flex-direction: column;
    gap: 0;
    padding-top: 6px;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    min-height: 44px;
    display: flex;
    align-items: center;
    padding: 10px 4px;
    border-bottom: 1px solid rgba(89, 16, 13, 0.08);
  }

  /* Prevent iOS Safari from auto-zooming when a form field is focused */
  .contact-form input,
  .contact-form textarea,
  .contact-form button {
    font-size: 16px;
  }

  .stats-bar {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
  }
}

.page-hero {
  background: var(--deepA);
  color: #f3e6d3;
  padding: 72px 0 54px;
  text-align: center;
}

.page-hero h1 {
  color: #fff;
  font-size: clamp(2.2rem, 4vw, 2.7rem);
  margin-bottom: 12px;
}

.value-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.value-card {
  background: #fff;
  border-top: 2px solid var(--acc);
  padding: 28px 24px;
  box-shadow: 0 10px 24px rgba(33, 12, 12, 0.05);
}

.value-card h3 {
  color: var(--deep);
  font-size: 22px;
  margin: 0 0 8px;
}

.services-list {
  display: grid;
  gap: 18px;
}

.service-item {
  background: #fff;
  padding: 28px 30px;
  border-left: 3px solid var(--acc);
  box-shadow: 0 10px 24px rgba(33, 12, 12, 0.05);
}

.service-item h3 {
  color: var(--deep);
  margin: 0 0 10px;
  font-size: 24px;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 0;
  box-shadow: 0 16px 60px rgba(33, 12, 12, 0.06);
}

.contact-form-card {
  background: #fff;
  padding: 56px 44px;
}

.contact-form-card h2 {
  margin-bottom: 8px;
}

.contact-form-card p {
  margin-top: 0;
  margin-bottom: 24px;
}

.contact-form {
  display: grid;
  gap: 16px;
}

.form-row {
  display: grid;
  gap: 8px;
}

.form-row label {
  font-family: 'Marcellus', serif;
  font-size: 12px;
  letter-spacing: 0.8px;
  color: var(--deep);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid rgba(89, 16, 13, 0.2);
  background: #fff;
  font-size: 14px;
  color: var(--text);
  outline: none;
}

.contact-form button {
  width: fit-content;
  border: none;
  cursor: pointer;
  background: var(--deep);
  color: #fff;
  padding: 14px 28px;
  font-family: 'Marcellus', serif;
  letter-spacing: 0.8px;
  font-size: 14px;
}

.contact-info-card {
  background: var(--deepA);
  color: #f3e6d3;
  padding: 56px 44px;
}

.contact-info-card .section-kicker {
  color: var(--acc2);
  margin-bottom: 28px;
}

.info-block {
  margin-bottom: 24px;
}

.info-block h3 {
  margin: 0 0 4px;
  color: #fff;
  font-size: 20px;
}

.info-block p {
  margin: 0;
  line-height: 1.7;
  color: #f3e6d3;
  opacity: 0.9;
}

@media (max-width: 960px) {
  .value-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 760px) {
  .value-grid {
    grid-template-columns: 1fr;
  }
}

/* Enlarged, clickable hero kicker that opens the portrait modal */
.kicker-trigger {
  border: 0;
  background: none;
  padding: 0;
  cursor: pointer;
  font-size: clamp(24px, 3.2vw, 34px);
  letter-spacing: 4px;
  color: var(--acc);
  transition: color 0.2s ease;
}

.kicker-trigger:hover,
.kicker-trigger:focus-visible {
  color: var(--acc2);
  text-decoration: underline;
  text-underline-offset: 6px;
  text-decoration-thickness: 1px;
}

.kicker-trigger:focus-visible {
  outline: 2px solid var(--acc);
  outline-offset: 6px;
}

/* Image pop-up modal */
.image-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(12px, 2vw, 28px);
}

.image-modal[hidden] {
  display: none;
}

.image-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(33, 9, 11, 0.82);
  backdrop-filter: blur(2px);
}

.image-modal__dialog {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: min(1700px, 100%);
  max-height: 96vh;
  animation: modalIn 0.25s ease;
}

.image-modal__img {
  display: block;
  width: 100%;
  max-width: 100%;
  max-height: 96vh;
  height: auto;
  border-radius: 6px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
}

.image-modal__close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 0;
  background: var(--acc);
  color: var(--deepB);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.4);
  transition: background 0.2s ease, transform 0.2s ease;
}

.image-modal__close:hover {
  background: var(--acc2);
  transform: scale(1.05);
}

@keyframes modalIn {
  from {
    opacity: 0;
    transform: scale(0.96);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

body.modal-open {
  overflow: hidden;
}

@media (max-width: 760px) {
  .image-modal__close {
    top: 8px;
    right: 8px;
    width: 38px;
    height: 38px;
  }

  .kicker-trigger {
    letter-spacing: 3px;
  }
}
