:root {
  --bg: #f4ede3;
  --bg-glow-a: #f8dec2;
  --bg-glow-b: #d4ece8;
  --card: #fff9f2;
  --surface: #fff;
  --surface-soft: #f7f3ed;
  --text: #2d2a28;
  --muted: #6f655d;
  --primary: #1d6b63;
  --primary-dark: #15524c;
  --accent: #f0bf7a;
  --border: #d9cdbf;
  --focus-ring: #7bbdb4;
  --lang-bg: #fff8ee;
  --lang-hover: #efe4d6;
  --nav-cta-text: #0f4f49;
  --nav-cta-bg: #dff0ec;
  --nav-cta-bg-hover: #cfe9e3;
  --nav-cta-border: #9ac8bf;
  --nav-cta-border-hover: #7db3a8;
  --theme-btn-text: #3c4f4b;
  --theme-btn-bg: #fff;
  --theme-btn-bg-hover: #f2ece3;
  --theme-btn-border: #cabaa8;
  --ghost-hover-bg: #e5f2f0;
  --quote-grad-a: #f6d8ad;
  --quote-grad-b: #f2e6d6;
  --quote-border: #d9bf9a;
  --quote-text: #6d4f2a;
  --coming-grad-a: #1d6b63;
  --coming-grad-b: #2a837a;
  --coming-text: #f7faf9;
  --coming-eyebrow: #d7f2ee;
  --input-bg: #fff;
  --input-border: #c8b9a6;
  --footer-bg: #efe4d6;
  --shadow: 0 10px 30px rgba(46, 34, 23, 0.08);
}

[data-theme="dark"] {
  --bg: #161a1f;
  --bg-glow-a: #2a3c4d;
  --bg-glow-b: #22393a;
  --card: #20262c;
  --surface: #1d2329;
  --surface-soft: #1b2228;
  --text: #e8ecef;
  --muted: #b1bcc4;
  --primary: #58b6a9;
  --primary-dark: #7dd3c8;
  --border: #33414d;
  --focus-ring: #74cabd;
  --lang-bg: #212a32;
  --lang-hover: #2a3641;
  --nav-cta-text: #d8f7f1;
  --nav-cta-bg: #1f4f4a;
  --nav-cta-bg-hover: #27635c;
  --nav-cta-border: #3e847a;
  --nav-cta-border-hover: #57a396;
  --theme-btn-text: #d6dde3;
  --theme-btn-bg: #232c34;
  --theme-btn-bg-hover: #2a3540;
  --theme-btn-border: #3a4957;
  --ghost-hover-bg: #243f3b;
  --quote-grad-a: #3a2f25;
  --quote-grad-b: #2e2621;
  --quote-border: #5a4737;
  --quote-text: #f0d5b0;
  --coming-grad-a: #2d5f6d;
  --coming-grad-b: #2f7d74;
  --coming-text: #edf7f5;
  --coming-eyebrow: #c8efe8;
  --input-bg: #151b21;
  --input-border: #40505e;
  --footer-bg: #10151a;
  --shadow: 0 16px 34px rgba(0, 0, 0, 0.32);
}

* {
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  max-width: 100%;
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 10% 0%, var(--bg-glow-a) 0%, transparent 35%),
    radial-gradient(circle at 90% 10%, var(--bg-glow-b) 0%, transparent 30%),
    var(--bg);
  line-height: 1.6;
  overflow-x: clip;
  overflow-y: auto;
}

h1,
h2,
h3 {
  font-family: "Fraunces", serif;
  line-height: 1.15;
  margin: 0 0 0.8rem;
}

p {
  margin: 0 0 1rem;
}

.container {
  width: min(1100px, 92%);
  max-width: 100%;
  margin: 0 auto;
}

.hero {
  padding: 1.25rem 0 4.5rem;
}

.nav {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.nav-right {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-left: auto;
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--lang-bg);
  padding: 0.2rem;
}

.lang-btn {
  border: 0;
  background: transparent;
  color: var(--muted);
  font-weight: 700;
  font-size: 0.78rem;
  padding: 0.35rem 0.55rem;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.lang-btn.active {
  background: var(--primary);
  color: #fff;
}

.lang-btn:hover {
  background: var(--lang-hover);
  color: var(--text);
}

.lang-btn:active {
  transform: translateY(1px);
}

.lang-btn:focus-visible {
  outline: 2px solid var(--focus-ring);
  outline-offset: 2px;
}

.theme-toggle {
  border: 1px solid var(--theme-btn-border);
  border-radius: 999px;
  background: var(--theme-btn-bg);
  color: var(--theme-btn-text);
  font-weight: 700;
  font-size: 0.78rem;
  min-height: 2rem;
  padding: 0.33rem 0.7rem;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}

.theme-toggle:hover {
  background: var(--theme-btn-bg-hover);
  border-color: var(--primary);
}

.theme-toggle:active {
  transform: translateY(1px);
}

.theme-toggle:focus-visible {
  outline: 2px solid var(--focus-ring);
  outline-offset: 2px;
}

.brand {
  color: var(--text);
  text-decoration: none;
  font-family: "Cinzel", serif;
  font-weight: 700;
  font-size: clamp(1.05rem, 2.1vw, 1.45rem);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1;
  position: relative;
  padding-bottom: 0.2rem;
}

.brand::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 62%;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--primary), transparent);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: var(--nav-cta-text);
  font-weight: 700;
  white-space: nowrap;
  background: var(--nav-cta-bg);
  border: 1px solid var(--nav-cta-border);
  border-radius: 999px;
  padding: 0.58rem 1rem;
  box-shadow: 0 6px 14px rgba(23, 81, 74, 0.12);
  transition: color 0.2s ease, transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.nav-cta:hover {
  color: var(--nav-cta-text);
  background: var(--nav-cta-bg-hover);
  border-color: var(--nav-cta-border-hover);
  transform: translateY(-1px);
}

.nav-cta:active {
  transform: translateY(1px);
}

.nav-cta:focus-visible {
  outline: 2px solid var(--focus-ring);
  outline-offset: 3px;
  border-radius: 999px;
}

.hero-content {
  padding-top: 4.5rem;
}

.hero-layout {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  justify-items: stretch;
  gap: 1rem;
}

.hero-copy {
  max-width: 760px;
  text-align: left;
}

.hero-photo-wrap {
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  background: transparent;
  border: 0;
  padding: 0;
  animation: fadeUp 0.9s ease both;
  animation-delay: 0.15s;
}

.hero-photo {
  width: min(360px, 64vw);
  max-width: 100%;
  height: auto;
  display: block;
  filter: none;
  animation: none;
}

img,
svg,
video,
canvas {
  max-width: 100%;
}

.eyebrow {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 0.9rem;
}

h1 {
  font-size: clamp(2rem, 5vw, 4rem);
}

.lead {
  font-size: clamp(1rem, 2.2vw, 1.25rem);
  color: var(--muted);
  max-width: 62ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 2rem;
  justify-content: flex-start;
}

.hero-copy .eyebrow,
.hero-copy h1,
.hero-copy .lead,
.hero-copy .hero-actions {
  animation: fadeUp 0.8s ease both;
}

.hero-copy h1 {
  animation-delay: 0.08s;
}

.hero-copy .lead {
  animation-delay: 0.15s;
}

.hero-copy .hero-actions {
  animation-delay: 0.22s;
}

.trust article,
.profile-card,
.quote-box,
.contact-form {
  animation: fadeUp 0.65s ease both;
}

.trust article:nth-child(2),
.profile-card:nth-child(2) {
  animation-delay: 0.08s;
}

.trust article:nth-child(3),
.profile-card:nth-child(3) {
  animation-delay: 0.14s;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes floatSoft {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-copy .eyebrow,
  .hero-copy h1,
  .hero-copy .lead,
  .hero-copy .hero-actions,
  .hero-photo-wrap,
  .hero-photo,
  .trust article,
  .profile-card,
  .quote-box,
  .contact-form {
    animation: none !important;
  }
}

.button {
  display: inline-block;
  text-decoration: none;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 0.78rem 1.2rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

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

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

.button:focus-visible {
  outline: 2px solid var(--focus-ring);
  outline-offset: 2px;
}

.button.primary {
  background: var(--primary);
  color: #fff;
}

.button.primary:hover {
  background: var(--primary-dark);
}

.button.ghost {
  border-color: var(--primary);
  color: var(--primary);
}

.button.ghost:hover {
  background: var(--ghost-hover-bg);
  border-color: var(--primary-dark);
  color: var(--primary-dark);
}

main {
  display: grid;
  gap: 2.5rem;
  padding-bottom: 4rem;
}

.trust {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.trust article {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 1.1rem;
  padding: 1.2rem;
  box-shadow: var(--shadow);
}

.trust h2 {
  font-size: 1.22rem;
}

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

.approach {
  background: var(--surface-soft);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 3.3rem 0;
}

.split {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 1.2rem;
  align-items: start;
}

.approach ul {
  margin: 1rem 0 0;
  padding-left: 1.15rem;
}

.approach li {
  margin-bottom: 0.45rem;
}

.quote-box {
  background: linear-gradient(145deg, var(--quote-grad-a), var(--quote-grad-b));
  border: 1px solid var(--quote-border);
  border-radius: 1.2rem;
  padding: 1.3rem;
  box-shadow: var(--shadow);
}

.quote-box p {
  font-family: "Fraunces", serif;
  font-size: 1.2rem;
}

.quote-box span {
  display: block;
  font-weight: 700;
  color: var(--quote-text);
}

.profile {
  display: grid;
  gap: 1rem;
}

.section-head {
  max-width: 760px;
}

.profile-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.profile-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 1.1rem;
  box-shadow: var(--shadow);
  padding: 1.2rem;
}

.profile-card h3 {
  font-size: 1.2rem;
}

.profile-card ul {
  margin: 0;
  padding-left: 1.15rem;
}

.profile-card li {
  margin-bottom: 0.7rem;
  color: var(--muted);
}

.coming-soon {
  padding: 0 0 0.4rem;
}

.coming-card {
  background: linear-gradient(120deg, var(--coming-grad-a), var(--coming-grad-b));
  border-radius: 1.2rem;
  color: var(--coming-text);
  padding: 1.6rem;
  box-shadow: var(--shadow);
}

.coming-card .eyebrow {
  color: var(--coming-eyebrow);
}

.contact {
  padding-top: 0.4rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 1.4rem;
}

.contact-form {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 1.1rem;
  box-shadow: var(--shadow);
  padding: 1.2rem;
  display: grid;
  gap: 0.45rem;
}

.contact-languages {
  margin: 1rem 0 0;
  font-weight: 700;
  color: var(--primary-dark);
}

.contact-form .button {
  margin-top: 0.55rem;
}

label {
  font-weight: 700;
  margin-top: 0.2rem;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--input-border);
  border-radius: 0.7rem;
  padding: 0.72rem;
  font: inherit;
  background: var(--input-bg);
  color: var(--text);
}

input:focus,
select:focus,
textarea:focus {
  outline: 2px solid var(--focus-ring);
  outline-offset: 1px;
  border-color: var(--primary);
}

.footer {
  border-top: 1px solid var(--border);
  background: var(--footer-bg);
  padding: 1.1rem 0;
}

.footer-row {
  display: flex;
  justify-content: space-between;
  gap: 0.8rem;
  flex-wrap: wrap;
  font-size: 0.95rem;
}

.footer-links {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  flex-wrap: wrap;
}

.footer a {
  color: var(--primary-dark);
  text-decoration: none;
  font-weight: 700;
  transition: color 0.2s ease;
}

.footer a:hover {
  color: var(--primary);
}

.footer a:focus-visible {
  outline: 2px solid var(--focus-ring);
  outline-offset: 2px;
  border-radius: 0.2rem;
}

.social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
  transition: transform 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.social-icon svg {
  width: 1.05rem;
  height: 1.05rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}

.social-icon:hover {
  transform: translateY(-1px);
  border-color: var(--primary);
}

@media (max-width: 900px) {
  .trust,
  .split,
  .profile-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero-content {
    padding-top: 3.1rem;
  }

  .hero-layout {
    grid-template-columns: 1fr;
    gap: 0.4rem;
  }

  .hero-photo {
    width: min(330px, 72vw);
  }

  .hero-photo-wrap {
    order: -1;
  }

  .hero-copy {
    text-align: center;
    margin: 0 auto;
  }

  .lead {
    margin-inline: auto;
  }

  .contact-languages {
    text-align: center;
  }

  .hero-actions {
    justify-content: center;
  }
}

@media (max-width: 680px) {
  .container {
    width: min(1100px, 94%);
  }

  .hero {
    padding: 0.9rem 0 2.4rem;
  }

  .nav {
    gap: 0.75rem;
  }

  .brand {
    font-size: 0.98rem;
    letter-spacing: 0.07em;
  }

  .nav-right {
    width: auto;
    justify-content: flex-end;
    gap: 0.6rem;
  }

  .lang-switch {
    padding: 0.18rem;
  }

  .lang-btn {
    min-width: 2.25rem;
    min-height: 2rem;
    font-size: 0.74rem;
    padding: 0.34rem 0.48rem;
  }

  .theme-toggle {
    min-height: 2rem;
    padding: 0.34rem 0.62rem;
    font-size: 0.74rem;
  }

  .hero-content {
    padding-top: 1.8rem;
  }

  .hero-layout {
    gap: 0.8rem;
  }

  .hero-copy {
    text-align: center;
  }

  h1 {
    font-size: clamp(1.75rem, 9vw, 2.3rem);
    margin-bottom: 0.65rem;
  }

  .lead {
    font-size: 1rem;
  }

  .button {
    min-height: 2.8rem;
  }

  .hero-actions {
    margin-top: 1.35rem;
    gap: 0.7rem;
  }

  .hero-actions .button {
    width: 100%;
    text-align: center;
  }

  .hero-photo-wrap {
    margin: 0 auto 0.2rem;
    padding: 0;
    border: 0;
    background: transparent;
  }

  .hero-photo {
    width: min(270px, 66vw);
    max-height: 36vh;
    object-fit: contain;
  }

  main {
    gap: 1.6rem;
    padding-bottom: 2.4rem;
  }

  .trust article,
  .profile-card,
  .coming-card,
  .contact-form,
  .quote-box {
    border-radius: 0.95rem;
    padding: 1rem;
  }

  .approach {
    padding: 2rem 0;
  }

  .quote-box p {
    font-size: 1.05rem;
  }

  .contact-grid {
    gap: 1rem;
  }

  .contact-form {
    gap: 0.35rem;
  }

  label {
    margin-top: 0.32rem;
    font-size: 0.95rem;
  }

  input,
  select,
  textarea {
    min-height: 2.75rem;
    padding: 0.66rem;
    font-size: 0.95rem;
  }

  textarea {
    min-height: 7rem;
  }

  .contact-form .button {
    width: 100%;
  }

  .footer {
    padding: 0.9rem 0 1.1rem;
  }

  .footer-row {
    justify-content: center;
    text-align: center;
    font-size: 0.9rem;
  }
}

@media (max-width: 560px) {
  .nav {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas:
      "brand controls"
      "cta cta";
    align-items: center;
    row-gap: 0.6rem;
  }

  .brand {
    grid-area: brand;
    font-size: 0.86rem;
    letter-spacing: 0.05em;
    min-width: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .nav-right {
    grid-area: controls;
    margin-left: 0;
    justify-self: end;
    flex-wrap: nowrap;
    gap: 0.45rem;
  }

  .nav-cta {
    grid-area: cta;
    display: block;
    text-align: center;
    border-radius: 999px;
    padding: 0.62rem 1rem;
  }

  .hero-photo {
    width: min(240px, 62vw);
    max-height: 31vh;
    object-fit: contain;
  }
}

@media (max-width: 420px) {
  .eyebrow {
    font-size: 0.73rem;
    letter-spacing: 0.06em;
  }

  h1 {
    font-size: 1.62rem;
  }

  .trust h2,
  .profile-card h3 {
    font-size: 1.06rem;
  }

  .hero {
    padding-bottom: 2rem;
  }

  .button {
    padding: 0.7rem 0.95rem;
  }

  .hero-photo {
    width: min(220px, 58vw);
    max-height: 27vh;
  }
}
