:root {
  --background: #fbf9f4;
  --bg: #fbf9f4;
  --surface: #ffffff;
  --card: #ffffff;
  --surface-low: #f5f3ee;
  --surface-container: #f0eee9;
  --text: #1b1c19;
  --muted: #44474c;
  --primary: #041525;
  --primary-soft: #1a2a3a;
  --sage: #516258;
  --accent: #516258;
  --sage-soft: #d1e4d7;
  --line: rgba(4, 21, 37, 0.1);
  --border: rgba(4, 21, 37, 0.1);
  --line-strong: rgba(4, 21, 37, 0.18);
  --shadow-soft: 0 4px 20px rgba(26, 42, 58, 0.04);
  --container: 1280px;
  --gutter: 24px;
  --section-gap: 128px;
  --anchor-offset: 24px;
  --radius: 16px;
  --radius-sm: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--anchor-offset);
}

body {
  margin: 0;
  font-family: "Inter", Arial, sans-serif;
  color: var(--text);
  background: var(--background);
  -webkit-font-smoothing: antialiased;
}

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

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

button,
input,
textarea {
  font: inherit;
}

.page-shell {
  width: 100%;
  min-height: 100vh;
  background: var(--background);
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: minmax(220px, 1fr) auto minmax(220px, 1fr);
  align-items: center;
  gap: 24px;
  height: 80px;
  width: 100%;
  padding: 0 max(24px, calc((100vw - var(--container)) / 2));
  border-bottom: 1px solid var(--line);
  background: rgba(251, 249, 244, 0.9);
  backdrop-filter: blur(12px);
}

.brand {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.55rem;
  font-weight: 600;
  line-height: 1;
  color: var(--primary);
}

.brand-name {
  white-space: nowrap;
}

.brand-subtitle {
  font-family: "Inter", Arial, sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #8c6d47;
  white-space: nowrap;
}

.topbar-menu {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  justify-self: center;
}

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  color: var(--primary);
  background: rgba(255, 253, 248, 0.82);
  font: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(26, 42, 58, 0.04);
  transition:
    border-color 0.2s ease,
    background 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.2s ease;
}

.menu-toggle:hover,
.menu-toggle:focus-visible,
.topbar-menu.is-open .menu-toggle {
  border-color: rgba(168, 137, 93, 0.42);
  background: #fffdf8;
  box-shadow: 0 8px 22px rgba(26, 42, 58, 0.08);
}

.menu-toggle iconify-icon {
  color: #a8895d;
  font-size: 20px;
  line-height: 1;
}

.nav {
  position: static;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  min-width: 0;
  padding: 0;
  gap: 24px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 500;
  opacity: 1;
  pointer-events: auto;
  transform: none;
  visibility: visible;
}

.topbar-menu.is-open .nav {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
  visibility: visible;
}

.nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  min-height: auto;
  padding: 0;
  border-radius: 0;
  transition: color 0.25s ease;
}

.nav a::after {
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 100%;
  height: 1px;
  background: var(--sage);
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.25s ease;
}

.nav a:hover,
.nav a:focus-visible {
  color: var(--primary);
}

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

.topbar-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 32px;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0;
  white-space: nowrap;
  transition:
    transform 0.25s ease,
    padding 0.25s ease,
    background 0.25s ease,
    border-color 0.25s ease,
    box-shadow 0.25s ease;
}

.topbar-cta svg,
.button svg,
.icon-wrap svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.topbar-cta {
  justify-self: end;
  padding: 0;
  min-height: auto;
  border: 0;
  color: var(--primary);
  background: transparent;
}

.topbar-cta iconify-icon {
  font-size: 18px;
  line-height: 1;
}

.topbar-cta:hover,
.topbar-cta:focus-visible {
  color: var(--sage);
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
  padding-left: 36px;
  padding-right: 36px;
}

.section {
  width: min(var(--container), calc(100% - 48px));
  margin: 0 auto;
  padding: calc(var(--section-gap) / 2) 0;
}

.section[id] {
  scroll-margin-top: var(--anchor-offset);
}

.hero {
  min-height: calc(100vh - 80px);
  padding-bottom: 88px;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(460px, 1.08fr);
  gap: 56px;
  align-items: center;
}

.hero.section {
  padding-top: 0;
  padding-bottom: 0;
}

.hero-copy {
  max-width: 680px;
}

.hero-logo {
  width: min(320px, 100%);
  margin: 0 auto 1px;
}

.hero-logo img {
  display: block;
  width: 100%;
  height: auto;
}

.hero-eyebrow {
  margin: 0 0 20px;
  color: #8f6d42;
  font-size: 0.8rem;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.hero h1,
.section-heading h2 {
  margin: 0;
  font-family: "Playfair Display", Georgia, serif;
  color: var(--primary);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.hero h1 {
  max-width: 12ch;
  font-size: 4.5rem;
  line-height: 1.02;
}

.lead {
  max-width: 39rem;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 1.18rem;
  line-height: 1.78;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 38px;
}

.hero-actions .button {
  min-height: 58px;
  padding: 0 36px;
  font-size: 0.98rem;
}

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

.button-primary:hover,
.button-primary:focus-visible {
  background: var(--primary-soft);
}

.button-secondary {
  color: var(--sage);
  border-color: var(--sage);
  background: transparent;
}

.button-secondary:hover,
.button-secondary:focus-visible {
  background: var(--surface-container);
}

.hero-visual {
  position: relative;
  display: grid;
  gap: 16px;
  align-self: center;
  width: min(100%, 720px);
  justify-self: end;
}

.hero-frame {
  position: relative;
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 32px;
  background: var(--card);
  box-shadow: 0 12px 34px rgba(26, 42, 58, 0.06);
  overflow: hidden;
}

.hero-frame img {
  width: 100%;
  aspect-ratio: 1 / 1;
  height: auto;
  object-fit: cover;
}

.split-band,
.contact-band {
  border-top: 1px solid var(--line);
}

.section-heading {
  display: grid;
  grid-template-columns: auto minmax(40px, 1fr);
  align-items: end;
  gap: 24px;
  margin-bottom: 32px;
}

.section-heading h2 {
  position: relative;
  padding-bottom: 14px;
  font-size: 2rem;
  line-height: 1.25;
}

.section-heading h2::after {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 46px;
  height: 2px;
  background: #b58d5d;
  content: "";
}

.rule {
  height: 1px;
  margin-bottom: 10px;
  background: var(--line);
}

.about-panel {
  display: grid;
  gap: 30px;
}

.about-main-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 56px;
  min-height: 420px;
  padding: 48px 56px;
  border: 1px solid var(--border);
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(250, 247, 239, 0.9));
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.about-copy {
  position: relative;
  z-index: 1;
  max-width: 48rem;
}

.about-kicker {
  margin: 0 0 18px;
  color: #b58d5d;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  line-height: 1.45;
  text-transform: uppercase;
}

.about-copy h3 {
  margin: 0;
  max-width: 18ch;
  color: var(--primary);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 3rem;
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.02em;
}

.about-copy p:not(.about-kicker) {
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.82;
  max-width: 44rem;
}

.about-copy p:not(.about-kicker) + p:not(.about-kicker) {
  margin-top: 22px;
}

.about-orbit {
  position: relative;
  align-self: center;
  justify-self: center;
  width: 290px;
  height: 290px;
  border: 0;
  border-radius: 999px;
  background-image: url("./assets/about-circle-documents.png");
  background-position: center;
  background-size: cover;
  box-shadow: 0 14px 34px rgba(26, 42, 58, 0.08);
  transform: none;
  pointer-events: none;
  overflow: hidden;
}

.about-orbit::before {
  display: none;
  content: "";
}

.about-feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.about-feature-card {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 18px;
  min-height: 178px;
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--surface);
  box-shadow: var(--shadow-soft);
  align-items: start;
}

.about-feature-card h3 {
  margin: 0;
  color: var(--primary);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.42rem;
  font-weight: 600;
  line-height: 1.22;
  letter-spacing: -0.01em;
}

.about-feature-card p {
  margin: 12px 0 0;
  color: var(--muted);
  line-height: 1.8;
}

.about-icon {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border: 1px solid rgba(181, 141, 93, 0.18);
  border-radius: 999px;
  color: #9b7a52;
  background: rgba(236, 223, 201, 0.4);
}

.about-feature-card svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.about-process-list {
  padding: 34px 32px 28px;
  border: 1px solid rgba(181, 141, 93, 0.18);
  border-radius: 18px;
  background: rgba(255, 253, 248, 0.54);
  box-shadow: var(--shadow-soft);
}

.process-heading {
  display: grid;
  justify-items: center;
  gap: 10px;
  margin-bottom: 34px;
  text-align: center;
}

.process-heading span {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 22px;
  color: #b58d5d;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.26em;
  line-height: 1;
  text-transform: uppercase;
}

.process-heading span::before,
.process-heading span::after {
  width: 76px;
  height: 1px;
  background: rgba(181, 141, 93, 0.5);
  content: "";
}

.process-heading h3 {
  margin: 0;
  color: var(--primary);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 2.55rem;
  font-weight: 700;
  line-height: 1.15;
}

.process-card-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) auto minmax(0, 1fr);
  gap: 24px;
  align-items: center;
}

.process-card {
  position: relative;
  display: grid;
  justify-items: center;
  align-content: start;
  min-height: 285px;
  padding: 52px 34px 34px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--card);
  box-shadow: 0 6px 20px rgba(26, 42, 58, 0.035);
  text-align: center;
}

.process-badge {
  position: absolute;
  top: -28px;
  left: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border: 1px solid rgba(181, 141, 93, 0.22);
  border-radius: 999px;
  color: #42372a;
  background: rgba(236, 223, 201, 0.45);
  font-family: "Inter", Arial, sans-serif;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  transform: translateX(-50%);
}

.process-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 76px;
  height: 76px;
  margin: 18px auto 24px;
  color: #a8895d;
  border: 1px solid #e2d3bd;
  border-radius: 999px;
  background: #f6efe3;
}

.process-icon iconify-icon {
  color: #a8895d;
  font-size: 44px;
  line-height: 1;
}

.process-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #a8895d;
  opacity: 0.7;
}

.process-arrow iconify-icon {
  font-size: 34px;
  line-height: 1;
}

.process-card h3 {
  margin: 0;
  color: var(--primary);
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(1.02rem, 1.02vw, 1.15rem);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.process-card h3::after {
  display: block;
  width: 48px;
  height: 2px;
  margin: 14px auto 0;
  background: rgba(181, 141, 93, 0.52);
  content: "";
}

.process-card p {
  max-width: 18rem;
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.72;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.service-card,
.work-card,
.contact-info-card,
.contact-form-card {
  border: 1px solid var(--border);
  border-radius: 22px;
  background: var(--card);
  box-shadow: var(--shadow-soft);
}

.service-card {
  position: relative;
  display: grid;
  align-content: space-between;
  gap: 26px;
  min-height: 100%;
  padding: 30px 32px;
  box-shadow: 0 18px 45px rgba(7, 24, 39, 0.04);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease;
  overflow: hidden;
}

.service-card.featured {
  grid-column: span 2;
  grid-template-columns: minmax(0, 0.92fr) minmax(360px, 0.78fr);
  align-items: center;
  gap: 34px;
  padding: 34px 36px;
  background: linear-gradient(180deg, rgba(255, 253, 248, 0.98), rgba(250, 247, 240, 0.92));
}

.service-card.featured .service-list {
  justify-content: center;
}

.service-card:hover {
  border-color: rgba(168, 137, 93, 0.45);
  box-shadow: 0 22px 54px rgba(7, 24, 39, 0.07);
  transform: translateY(-2px);
}

.service-media {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  min-width: 0;
}

.service-copy {
  min-width: 0;
}

.service-copy h3,
.work-copy h3 {
  margin: 0;
  color: var(--primary);
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(1.7rem, 2vw, 2.15rem);
  font-weight: 600;
  line-height: 1.18;
  letter-spacing: -0.02em;
}

.service-kicker {
  display: block;
  margin-bottom: 10px;
  color: #a8895d;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  line-height: 1.35;
  text-transform: uppercase;
}

.service-card p {
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.68;
  max-width: 36rem;
}

.service-list {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 12px;
  margin: 0;
  padding: 0;
  list-style: none;
  z-index: 1;
}

.service-list li {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 8px 18px;
  border: 1px solid #e2d8ca;
  border-radius: 999px;
  color: var(--primary);
  background: rgba(255, 253, 248, 0.72);
  font-size: 0.86rem;
  font-weight: 500;
  line-height: 1.35;
}

@media (min-width: 861px) {
  .service-list-inline {
    flex-wrap: nowrap;
    gap: 8px;
  }

  .service-list-inline li {
    padding-inline: 13px;
    font-size: 0.8rem;
    white-space: nowrap;
  }
}

.service-icon {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 88px;
  height: 88px;
  border: 1px solid #e2d3bd;
  border-radius: 999px;
  color: #a8895d;
  background: #f6efe3;
  box-shadow: 0 12px 26px rgba(168, 137, 93, 0.08);
}

.service-icon iconify-icon {
  color: #a8895d;
  font-size: 44px;
  line-height: 1;
}

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

.work-card {
  overflow: hidden;
}

.work-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.work-copy {
  padding: 24px;
}

.work-copy p {
  margin: 8px 0 0;
  color: var(--muted);
  line-height: 1.65;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(320px, 0.42fr) minmax(0, 0.58fr);
  gap: 28px;
  align-items: stretch;
}

.contact-info-card,
.contact-form-card {
  position: relative;
  overflow: hidden;
  border-color: rgba(4, 21, 37, 0.1);
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(251, 248, 241, 0.92));
}

.contact-info-card {
  order: 1;
  display: grid;
  align-content: start;
  min-height: 100%;
  padding: 38px;
}

.contact-info-card::after {
  position: absolute;
  right: -72px;
  top: -72px;
  width: 180px;
  height: 180px;
  border: 1px solid rgba(168, 137, 93, 0.16);
  border-radius: 999px;
  content: "";
  pointer-events: none;
}

.contact-form-card {
  order: 2;
  padding: 38px;
  box-shadow: 0 12px 34px rgba(26, 42, 58, 0.055);
}

.contact-eyebrow {
  display: block;
  margin-bottom: 14px;
  color: #a8895d;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  line-height: 1.35;
  text-transform: uppercase;
}

.contact-info-card h3,
.form-heading h3 {
  margin: 0;
  color: var(--primary);
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(1.85rem, 2.2vw, 2.45rem);
  font-weight: 700;
  line-height: 1.16;
  letter-spacing: -0.02em;
}

.contact-info-card > p,
.form-heading p {
  margin: 18px 0 0;
  color: var(--muted);
  line-height: 1.78;
}

.contact-methods {
  display: grid;
  gap: 12px;
  margin-top: 34px;
}

.contact-method {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  min-height: 78px;
  padding: 14px;
  border: 1px solid rgba(4, 21, 37, 0.09);
  border-radius: 16px;
  background: rgba(255, 253, 248, 0.72);
  color: var(--text);
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.2s ease;
}

.contact-method:hover,
.contact-method:focus-visible {
  border-color: rgba(168, 137, 93, 0.34);
  box-shadow: 0 8px 22px rgba(26, 42, 58, 0.05);
  transform: translateY(-1px);
}

.method-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border: 1px solid #e2d3bd;
  border-radius: 999px;
  color: #a8895d;
  background: #f6efe3;
}

.method-icon iconify-icon {
  font-size: 25px;
  line-height: 1;
}

.contact-method strong {
  display: block;
  color: var(--primary);
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.35;
}

.contact-method small {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

.form-heading {
  margin-bottom: 26px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.form-group {
  display: grid;
  gap: 9px;
  color: var(--primary);
  font-size: 0.86rem;
  font-weight: 600;
}

.form-group.full {
  grid-column: 1 / -1;
}

.form-group input,
.form-group textarea {
  width: 100%;
  border: 1px solid rgba(4, 21, 37, 0.12);
  border-radius: 15px;
  outline: 0;
  color: var(--text);
  background: rgba(255, 253, 248, 0.86);
  font: inherit;
  font-size: 0.95rem;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease;
}

.form-group input {
  min-height: 54px;
  padding: 0 16px;
}

.form-group textarea {
  min-height: 142px;
  padding: 15px 16px;
  resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: rgba(168, 137, 93, 0.62);
  background: #fffdf8;
  box-shadow: 0 0 0 4px rgba(168, 137, 93, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(95, 102, 112, 0.72);
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-top: 24px;
}

.submit-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 56px;
  padding: 0 30px;
  border: 1px solid transparent;
  border-radius: 12px;
  color: #fff;
  background: var(--primary);
  font: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 12px 24px rgba(4, 21, 37, 0.12);
  transition:
    background 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.2s ease;
}

.submit-btn:disabled {
  opacity: 0.7;
  cursor: wait;
  transform: none;
}

.submit-btn:hover,
.submit-btn:focus-visible {
  background: var(--primary-soft);
  box-shadow: 0 14px 28px rgba(4, 21, 37, 0.16);
  transform: translateY(-2px);
}

.submit-btn iconify-icon {
  font-size: 18px;
  line-height: 1;
}

.form-status {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.5;
}

.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(var(--container), calc(100% - 48px));
  margin: 0 auto;
  padding: 32px 0 40px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.9rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
}

@media (max-width: 1080px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 72px;
    padding-bottom: 72px;
    gap: 42px;
  }

  .hero-visual {
    width: 100%;
    justify-self: stretch;
  }

  .hero h1 {
    max-width: 12ch;
  }

  .about-main-card,
  .about-feature-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

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

  .about-main-card {
    min-height: 0;
    padding: 34px;
  }

  .about-copy h3 {
    max-width: 14ch;
  }

  .about-orbit {
    width: 220px;
    height: 220px;
    justify-self: start;
  }

  .process-card-grid {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .process-arrow {
    display: none;
  }

  .service-card.featured {
    grid-column: span 2;
  }

}

@media (max-width: 860px) {
  :root {
    --section-gap: 88px;
    --anchor-offset: 24px;
  }

  .topbar {
    grid-template-columns: minmax(0, 1fr) auto;
    height: auto;
    min-height: 72px;
    padding: 18px 20px;
  }

  .topbar-menu {
    display: block;
    justify-self: end;
  }

  .topbar-cta {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .nav {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    z-index: 30;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    width: min(78vw, 285px);
    min-width: 245px;
    padding: 12px;
    gap: 4px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: rgba(255, 253, 248, 0.96);
    box-shadow: 0 18px 42px rgba(26, 42, 58, 0.12);
    backdrop-filter: blur(14px);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    visibility: hidden;
  }

  .nav a {
    display: flex;
    justify-content: space-between;
    width: 100%;
    min-height: 42px;
    padding: 0 12px;
    border-radius: 10px;
  }

  .nav a::after {
    display: none;
    content: none;
  }

  .nav a:hover,
  .nav a:focus-visible {
    background: rgba(246, 239, 227, 0.72);
  }

  .section {
    width: min(100% - 40px, var(--container));
  }

  .hero h1 {
    font-size: 3rem;
    line-height: 1.14;
  }

  .section-heading h2 {
    font-size: 1.75rem;
  }

  .about-copy h3 {
    font-size: 2.5rem;
    max-width: 100%;
  }

  .process-heading h3 {
    font-size: 2.1rem;
  }

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

  .service-card.featured {
    grid-column: auto;
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .hero-visual {
    display: none;
  }

  .about-orbit {
    display: none;
  }

  .process-icon {
    width: 64px;
    height: 64px;
    margin: 14px auto 20px;
  }

  .process-icon iconify-icon {
    font-size: 36px;
  }

  .service-card,
  .service-card.featured {
    padding: 26px;
  }

  .service-media {
    flex-direction: column;
    gap: 18px;
  }

  .service-icon {
    width: 76px;
    height: 76px;
  }

  .service-icon iconify-icon {
    font-size: 38px;
  }
}

@media (max-width: 640px) {
  .topbar-cta {
    display: none;
  }

  .brand {
    font-size: 1.35rem;
  }

  .brand-subtitle {
    font-size: 0.64rem;
  }

  .section {
    width: min(100% - 32px, var(--container));
  }

  .hero {
    gap: 30px;
    padding-top: 64px;
    padding-bottom: 64px;
  }

  .hero-logo {
    width: min(250px, 100%);
    margin: 0 auto 16px;
  }

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

  .hero-actions,
  .button {
    width: 100%;
  }

  .field-row,
  .note-row {
    grid-template-columns: 1fr;
  }

  .about-main-card,
  .about-feature-grid {
    grid-template-columns: 1fr;
  }

  .about-main-card {
    padding: 24px;
  }

  .about-copy h3 {
    font-size: 2.1rem;
  }

  .about-orbit {
    width: 160px;
    height: 160px;
  }

  .about-process-list {
    padding: 28px 16px 20px;
  }

  .contact-info-card {
    padding: 28px 18px;
  }

  .contact-info-card h3 {
    font-size: 2rem;
    line-height: 1.12;
  }

  .contact-methods {
    gap: 10px;
    margin-top: 28px;
  }

  .contact-method {
    grid-template-columns: 46px minmax(0, 1fr);
    gap: 12px;
    min-height: 74px;
    padding: 12px;
  }

  .method-icon {
    width: 46px;
    height: 46px;
  }

  .method-icon iconify-icon {
    font-size: 23px;
  }

  .contact-method small {
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  .process-heading span {
    gap: 12px;
    font-size: 0.78rem;
  }

  .process-heading span::before,
  .process-heading span::after {
    width: 42px;
  }

  .about-feature-card {
    min-height: 0;
    padding: 20px;
  }

  .process-badge {
    width: 56px;
    height: 56px;
    top: -28px;
  }

  .process-card {
    min-height: 0;
    padding: 44px 24px 28px;
  }

  .process-icon {
    width: 64px;
    height: 64px;
    margin: 14px auto 20px;
  }

  .process-icon iconify-icon {
    font-size: 36px;
  }

  .process-card h3 {
    font-size: 1.14rem;
    white-space: normal;
  }

  .service-card,
  .contact-form,
  .contact-details {
    padding: 24px;
  }

  .footer {
    width: min(100% - 32px, var(--container));
    flex-direction: column;
    align-items: flex-start;
  }
}
