:root {
  --taupe: #7a6f63;
  --taupe-deep: #665d53;
  --sand: #c8b89a;
  --sand-light: #e7ddcb;
  --cream: #f5f1e9;
  --paper: #fffdf9;
  --ink: #171614;
  --muted: #716d66;
  --line: rgba(23, 22, 20, 0.14);
  --error: #a33d34;
  --success: #3f694f;
  --serif: Georgia, "Times New Roman", Times, serif;
  --sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--cream);
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background: var(--cream);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

button,
input {
  font: inherit;
}

a {
  color: inherit;
}

.skip-link {
  position: fixed;
  z-index: 999;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  color: var(--ink);
  background: var(--paper);
  border-radius: 3px;
  transform: translateY(-160%);
  transition: transform 160ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: relative;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 86px;
  padding: 14px clamp(22px, 4vw, 64px);
  color: #fff;
  background: var(--taupe);
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  flex: 0 0 46px;
  width: 46px;
  height: 46px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 50%;
  color: #fff;
  font-family: var(--serif);
  font-size: 18px;
  letter-spacing: -0.04em;
}

.brand-copy {
  display: grid;
  gap: 1px;
  min-width: 0;
}

.brand-copy strong {
  font-family: var(--serif);
  font-size: clamp(20px, 2vw, 26px);
  font-weight: 500;
  letter-spacing: 0.01em;
  line-height: 1.1;
}

.brand-copy small {
  overflow: hidden;
  max-width: 440px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.language-switch {
  display: inline-flex;
  flex: 0 0 auto;
  padding: 3px;
  background: rgba(0, 0, 0, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
}

.language-button {
  min-width: 46px;
  min-height: 37px;
  padding: 7px 12px;
  border: 0;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.76);
  background: transparent;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  cursor: pointer;
  transition: background 160ms ease, color 160ms ease, transform 160ms ease;
}

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

.language-button[aria-pressed="true"] {
  color: var(--ink);
  background: var(--sand);
}

.language-button:focus-visible,
.submit-button:focus-visible,
.secondary-button:focus-visible,
input:focus-visible,
a:focus-visible {
  outline: 3px solid rgba(200, 184, 154, 0.72);
  outline-offset: 3px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(560px, 1.12fr);
  min-height: calc(100svh - 86px);
}

.intro-panel {
  position: relative;
  display: flex;
  overflow: hidden;
  align-items: center;
  min-height: 700px;
  padding: clamp(58px, 8vw, 120px) clamp(30px, 6vw, 88px);
  color: #fff;
  background: var(--taupe);
}

.intro-content {
  position: relative;
  z-index: 2;
  width: min(100%, 660px);
  margin: 0 auto;
}

.eyebrow,
.form-kicker {
  margin: 0 0 24px;
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.eyebrow {
  color: var(--sand-light);
}

.intro-panel h1 {
  max-width: 700px;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(48px, 6vw, 84px);
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 0.98;
  text-wrap: balance;
}

.hero-copy {
  max-width: 590px;
  margin: 30px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(17px, 1.35vw, 20px);
  line-height: 1.65;
}

.service-note {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 18px;
  align-items: start;
  max-width: 560px;
  margin-top: 34px;
}

.service-line {
  height: 1px;
  margin-top: 12px;
  background: var(--sand);
}

.service-note p {
  margin: 0;
  color: var(--sand-light);
  font-family: var(--serif);
  font-size: clamp(18px, 1.45vw, 22px);
  font-style: italic;
  line-height: 1.5;
}

.credentials {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 38px;
}

.credentials span {
  padding: 7px 10px;
  color: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.direct-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 7px 18px;
  align-items: center;
  margin-top: 46px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.direct-contact p {
  flex-basis: 100%;
  margin: 0 0 3px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 12px;
}

.direct-contact a {
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  text-decoration-color: rgba(255, 255, 255, 0.35);
  text-underline-offset: 4px;
}

.direct-contact a:hover {
  text-decoration-color: #fff;
}

.architectural-lines {
  position: absolute;
  inset: 0;
  opacity: 0.25;
  pointer-events: none;
}

.architectural-lines span {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.22);
}

.architectural-lines span:nth-child(1) {
  right: -19%;
  bottom: -17%;
  width: 64%;
  aspect-ratio: 1;
  border-radius: 50% 50% 0 0;
}

.architectural-lines span:nth-child(2) {
  right: 1%;
  bottom: -8%;
  width: 34%;
  aspect-ratio: 0.7;
  border-bottom: 0;
  border-radius: 50% 50% 0 0;
}

.architectural-lines span:nth-child(3) {
  top: 11%;
  left: -30%;
  width: 72%;
  aspect-ratio: 1;
  border-radius: 50%;
}

.form-panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 700px;
  padding: clamp(42px, 6vw, 86px) clamp(24px, 6vw, 88px) 24px;
  background:
    linear-gradient(rgba(200, 184, 154, 0.09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(200, 184, 154, 0.09) 1px, transparent 1px),
    var(--cream);
  background-size: 42px 42px;
}

.form-card {
  width: min(100%, 620px);
  margin: auto;
  padding: clamp(32px, 4vw, 54px);
  background: rgba(255, 253, 249, 0.96);
  border: 1px solid rgba(122, 111, 99, 0.16);
  border-radius: 4px;
  box-shadow: 0 24px 70px rgba(66, 57, 48, 0.11);
  backdrop-filter: blur(6px);
}

.form-kicker {
  margin-bottom: 13px;
  color: var(--taupe);
}

.form-heading h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(35px, 4vw, 52px);
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 1.05;
  text-wrap: balance;
}

.form-heading > p:last-child {
  max-width: 520px;
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
}

#contact-form {
  margin-top: 34px;
}

.field-group {
  margin-bottom: 21px;
}

.field-group label {
  display: block;
  margin-bottom: 7px;
  color: #3f3b36;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.field-group input {
  display: block;
  width: 100%;
  min-height: 55px;
  padding: 13px 15px;
  color: var(--ink);
  background: #fff;
  border: 1px solid rgba(23, 22, 20, 0.18);
  border-radius: 2px;
  box-shadow: none;
  font-size: 16px;
  transition: border-color 150ms ease, box-shadow 150ms ease, background 150ms ease;
}

.field-group input::placeholder {
  color: #9d978e;
}

.field-group input:hover {
  border-color: rgba(23, 22, 20, 0.32);
}

.field-group input:focus {
  border-color: var(--taupe);
  outline: none;
  box-shadow: 0 0 0 3px rgba(122, 111, 99, 0.1);
}

.field-group input[aria-invalid="true"] {
  border-color: var(--error);
  background: rgba(163, 61, 52, 0.025);
}

.field-error {
  display: block;
  min-height: 17px;
  margin-top: 5px;
  color: var(--error);
  font-size: 11px;
}

.honeypot {
  position: absolute !important;
  overflow: hidden !important;
  width: 1px !important;
  height: 1px !important;
  clip: rect(1px, 1px, 1px, 1px) !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
}

.consent-row {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 10px;
  align-items: start;
  margin-top: 2px;
  color: #69635c;
  font-size: 10.5px;
  line-height: 1.55;
  cursor: pointer;
}

.consent-row input {
  width: 17px;
  height: 17px;
  margin: 1px 0 0;
  accent-color: var(--taupe);
}

.privacy-link {
  font-weight: 700;
  text-underline-offset: 2px;
}

.consent-error {
  margin: 4px 0 0 28px;
}

.submit-button,
.secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  cursor: pointer;
}

.submit-button {
  width: 100%;
  min-height: 58px;
  gap: 12px;
  margin-top: 22px;
  padding: 15px 20px;
  color: #fff;
  background: var(--taupe);
  border-radius: 2px;
  font-size: 13px;
  font-weight: 750;
  letter-spacing: 0.055em;
  text-transform: uppercase;
  transition: background 170ms ease, transform 170ms ease, opacity 170ms ease;
}

.submit-button:hover:not(:disabled) {
  background: var(--taupe-deep);
  transform: translateY(-1px);
}

.submit-button:disabled {
  opacity: 0.62;
  cursor: wait;
}

.button-arrow {
  font-size: 17px;
  transition: transform 170ms ease;
}

.submit-button:hover .button-arrow {
  transform: translate(2px, -2px);
}

.form-status {
  min-height: 23px;
  margin-top: 13px;
  text-align: center;
  font-size: 12px;
}

.form-status.error {
  color: var(--error);
}

.form-status.info {
  color: var(--muted);
}

.success-card {
  padding: 20px 4px 4px;
  text-align: center;
}

.success-card[hidden] {
  display: none;
}

.success-icon {
  display: grid;
  width: 68px;
  height: 68px;
  margin: 0 auto 22px;
  place-items: center;
  color: #fff;
  background: var(--success);
  border-radius: 50%;
  font-size: 28px;
}

.success-card h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: 48px;
  font-weight: 400;
}

.success-card p {
  max-width: 430px;
  margin: 15px auto 0;
  color: var(--muted);
}

.secondary-button {
  min-height: 46px;
  margin-top: 28px;
  padding: 10px 17px;
  color: var(--ink);
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 2px;
  font-size: 12px;
  font-weight: 700;
}

.secondary-button:hover {
  border-color: var(--taupe);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  width: min(100%, 620px);
  gap: 16px;
  margin: 34px auto 0;
  color: #817b73;
  font-size: 10px;
}

.site-footer p {
  margin: 0;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px;
}

.footer-links a {
  text-decoration-color: rgba(23, 22, 20, 0.25);
  text-underline-offset: 3px;
}

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

.noscript-message {
  position: fixed;
  z-index: 1000;
  right: 12px;
  bottom: 12px;
  left: 12px;
  padding: 14px;
  color: #fff;
  background: var(--error);
  text-align: center;
}

@media (max-width: 1080px) {
  .hero {
    grid-template-columns: 0.86fr 1.14fr;
  }

  .intro-panel {
    padding-right: 46px;
    padding-left: 46px;
  }

  .intro-panel h1 {
    font-size: clamp(44px, 6.7vw, 70px);
  }

  .form-panel {
    padding-right: 34px;
    padding-left: 34px;
  }
}

@media (max-width: 860px) {
  .site-header {
    min-height: 76px;
    padding: 12px 20px;
  }

  .brand-mark {
    width: 42px;
    height: 42px;
    flex-basis: 42px;
  }

  .brand-copy small {
    max-width: 320px;
  }

  .hero {
    display: block;
    min-height: auto;
  }

  .intro-panel,
  .form-panel {
    min-height: auto;
  }

  .intro-panel {
    padding: 46px 28px 40px;
  }

  .intro-content {
    width: min(100%, 690px);
  }

  .intro-panel h1 {
    max-width: 650px;
    font-size: clamp(47px, 10.5vw, 70px);
  }

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

  .direct-contact {
    margin-top: 26px;
  }

  .form-panel {
    padding: 52px 22px 24px;
  }

  .form-card {
    width: min(100%, 690px);
  }

  .site-footer {
    width: min(100%, 690px);
  }
}

@media (max-width: 560px) {
  .site-header {
    align-items: center;
    gap: 10px;
    padding: 10px 15px;
  }

  .brand {
    gap: 10px;
  }

  .brand-copy strong {
    font-size: 20px;
  }

  .brand-copy small {
    display: none;
  }

  .brand-mark {
    width: 38px;
    height: 38px;
    flex-basis: 38px;
    font-size: 15px;
  }

  .language-button {
    min-width: 38px;
    min-height: 33px;
    padding: 6px 9px;
    font-size: 10px;
  }

  .intro-panel {
    padding: 28px 22px 24px;
  }

  .eyebrow {
    margin-bottom: 14px;
    font-size: 8.5px;
  }

  .intro-panel h1 {
    font-size: clamp(38px, 11vw, 50px);
    line-height: 1.01;
  }

  .hero-copy {
    margin-top: 13px;
    font-size: 14.5px;
    line-height: 1.46;
  }

  .service-note {
    display: none;
  }

  .credentials {
    display: none;
  }

  .direct-contact {
    display: grid;
    gap: 3px;
    margin-top: 16px;
    padding-top: 13px;
  }

  .direct-contact p {
    margin-bottom: 3px;
  }

  .form-panel {
    padding: 18px 13px 18px;
  }

  .form-card {
    padding: 24px 20px;
    box-shadow: 0 16px 48px rgba(66, 57, 48, 0.09);
  }

  .form-heading h2 {
    font-size: 34px;
  }

  .form-heading > p:last-child {
    margin-top: 11px;
    font-size: 13.5px;
  }

  #contact-form {
    margin-top: 23px;
  }

  .field-group {
    margin-bottom: 16px;
  }

  .field-group input {
    min-height: 54px;
  }

  .consent-row {
    font-size: 9.6px;
  }

  .submit-button {
    min-height: 56px;
    margin-top: 20px;
    font-size: 12px;
  }

  .site-footer {
    display: grid;
    justify-content: center;
    margin-top: 24px;
    text-align: center;
  }

  .footer-links {
    justify-content: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
