:root {
  --ink: #17202b;
  --muted: #3e4b5c;
  --soft: #5c6b7c;
  --paper: #f7f4ec;
  --white: #fffdf9;
  --sand: #efeae0;
  --navy: #101820;
  --navy-deep: #0c1218;
  --gold: #e0c27a;
  --gold-deep: #6b5218;
  --line: rgba(16, 24, 32, 0.12);
  --silver: #d5dbe3;
  --danger: #8c2f2f;
  --header: 76px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Be Vietnam Pro", "Segoe UI", sans-serif;
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  text-rendering: optimizeLegibility;
}

h1,
h2,
h3,
p,
ul,
ol,
dl,
dd {
  margin: 0;
}

h1,
h2,
h3,
.logo-name,
.footer-name,
.email-link,
.idx,
.panel .n {
  font-family: Newsreader, Georgia, "Times New Roman", serif;
  font-weight: 500;
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(2rem, 3.2vw, 3.05rem);
  line-height: 1.15;
  margin: 0 0 16px;
}

a {
  color: var(--gold-deep);
}

button,
input,
textarea {
  font: inherit;
}

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

::selection {
  background: var(--gold);
  color: #1a1408;
}

.skip {
  position: absolute;
  left: 16px;
  top: -48px;
  z-index: 80;
  background: var(--gold);
  color: #1a1408;
  padding: 8px 12px;
  text-decoration: none;
}

.skip:focus {
  top: 8px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.wrap {
  width: min(1120px, calc(100% - 40px));
  margin-inline: auto;
}

.legal-bar {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 4px 10px;
  margin: 0;
  padding: 8px 16px;
  background: var(--navy-deep);
  color: var(--silver);
  font-size: 0.75rem;
  text-align: center;
}

.legal-bar .sep {
  color: var(--gold);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(16, 24, 32, 0.94);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(224, 194, 122, 0.28);
}

.header-inner {
  position: relative;
  display: flex;
  align-items: center;
  gap: 20px;
  min-height: var(--header);
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #f7f4ec;
  text-decoration: none;
  flex: 0 1 auto;
  min-width: 0;
}

.logo-bar {
  width: 2px;
  align-self: stretch;
  margin: 6px 0;
  background: linear-gradient(var(--gold), var(--silver));
}

.logo-name {
  display: block;
  font-size: 1.45rem;
  line-height: 1;
}

.logo-sub {
  display: block;
  margin-top: 4px;
  font-family: "Be Vietnam Pro", "Segoe UI", sans-serif;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--silver);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}

.site-nav a {
  color: #f7f4ec;
  text-decoration: none;
  padding: 8px 12px;
  font-size: 0.95rem;
  font-weight: 500;
}

.site-nav a:hover,
.site-nav a[aria-current="true"] {
  color: var(--gold);
}

.lang {
  display: flex;
  flex: 0 0 auto;
  padding: 3px;
  border: 1px solid rgba(224, 194, 122, 0.5);
  border-radius: 999px;
}

.lang button {
  border: 0;
  background: transparent;
  color: #f7f4ec;
  border-radius: 999px;
  min-width: 42px;
  min-height: 32px;
  padding: 4px 10px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  cursor: pointer;
}

.lang button[aria-pressed="true"] {
  background: var(--gold);
  color: #1a1408;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(224, 194, 122, 0.5);
  background: transparent;
  color: #f7f4ec;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  flex: 0 0 auto;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 1.5px;
  background: currentColor;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.site-header.is-open .nav-toggle span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}

.site-header.is-open .nav-toggle span:nth-child(2) {
  opacity: 0;
}

.site-header.is-open .nav-toggle span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

.hero {
  background:
    radial-gradient(ellipse at 100% 0%, rgba(224, 194, 122, 0.18), transparent 42%),
    radial-gradient(ellipse at 0% 100%, rgba(213, 219, 227, 0.08), transparent 46%),
    var(--navy);
  padding: 64px 0 88px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.8fr);
  gap: 56px;
  align-items: center;
}

.kicker {
  display: block;
  margin-bottom: 14px;
  font-family: "Be Vietnam Pro", "Segoe UI", sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-deep);
}

.on-dark .kicker {
  color: #f0d9a0;
}

.on-dark h2,
.on-dark h3 {
  color: #f7f4ec;
}

.hero h1 {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  line-height: 1.08;
  color: #f7f4ec;
}

.hero h1 span {
  display: block;
}

.hero h1 span:last-child {
  color: var(--gold);
}

.lead {
  margin-top: 18px;
  max-width: 40rem;
  color: var(--muted);
  font-size: 1.08rem;
}

.on-dark .lead,
.on-dark p {
  color: #c5ced6;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid transparent;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
}

.btn-primary {
  background: var(--gold);
  color: #1a1408;
}

.btn-primary:hover {
  background: #ebcf90;
}

.btn-ghost {
  background: transparent;
  color: #f7f4ec;
  border-color: rgba(247, 244, 236, 0.38);
}

.btn-ghost:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.btn-dark {
  background: var(--navy);
  color: #f7f4ec;
}

.btn-dark:hover {
  background: #1c2a3a;
}

.btn-block {
  width: 100%;
  margin-top: 6px;
}

.panel {
  border: 1px solid rgba(224, 194, 122, 0.4);
  background: rgba(255, 255, 255, 0.03);
  padding: 28px 26px 18px;
}

.panel h2 {
  color: #f7f4ec;
  font-size: 1.85rem;
  line-height: 1.2;
}

.panel > p {
  margin-top: 8px;
}

.panel ol {
  list-style: none;
  padding: 0;
  margin-top: 22px;
  display: grid;
  gap: 18px;
}

.panel li {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 10px;
  padding-top: 16px;
  border-top: 1px solid rgba(213, 219, 227, 0.16);
}

.panel .n,
.idx {
  color: var(--gold);
  font-size: 1.35rem;
  line-height: 1.2;
}

.panel h3,
.service-list h3,
.process-list h3,
.principle-grid h3 {
  font-size: 1.45rem;
  line-height: 1.25;
  color: var(--ink);
}

.panel h3 {
  color: #f7f4ec;
  font-size: 1.25rem;
}

.panel li p {
  margin-top: 4px;
  font-size: 0.98rem;
}

.section {
  padding: 88px 0;
  scroll-margin-top: calc(var(--header) + 12px);
}

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

.section-sand {
  background: var(--sand);
}

#process {
  background:
    radial-gradient(ellipse at 0% 0%, rgba(224, 194, 122, 0.12), transparent 36%),
    var(--navy);
}

.about-grid,
.contact-grid,
.section-head {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: start;
}

.section-head {
  align-items: end;
  margin-bottom: 8px;
}

.about-grid p + p,
.contact-grid .lead {
  margin-top: 16px;
}

.facts {
  display: grid;
  align-content: start;
}

.facts div {
  display: grid;
  grid-template-columns: 148px 1fr;
  gap: 16px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
}

.facts div:last-child {
  border-bottom: 1px solid var(--line);
}

.facts dt {
  color: var(--soft);
  font-size: 0.92rem;
}

.facts dd {
  margin: 0;
  font-weight: 600;
  overflow-wrap: anywhere;
}

.facts a {
  color: var(--ink);
  text-underline-offset: 3px;
}

.service-list,
.process-list,
.principle-grid {
  list-style: none;
  padding: 0;
}

.service-list li {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 18px;
  padding: 28px 0;
  border-top: 1px solid var(--line);
}

.service-list li:last-child {
  border-bottom: 1px solid var(--line);
}

.service-list .idx,
.process-list .idx {
  font-size: 2rem;
}

.service-list p,
.principle-grid p,
.process-list p {
  margin-top: 8px;
  color: var(--muted);
  max-width: 42rem;
}

.process-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  margin-top: 28px;
}

.process-list li {
  padding-top: 18px;
  border-top: 2px solid var(--gold);
}

.process-list h3 {
  margin-top: 16px;
  color: #f7f4ec;
}

.process-list p {
  color: #c5ced6;
}

.principle-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 28px;
}

.principle-grid li {
  padding: 24px 22px 22px;
  background: var(--white);
  border-top: 2px solid #c4a35a;
}

.email-line {
  margin-top: 28px;
}

.email-link {
  color: var(--ink);
  font-size: clamp(1.45rem, 2.4vw, 2rem);
  line-height: 1.25;
  text-decoration: none;
  border-bottom: 1px solid var(--gold);
  overflow-wrap: anywhere;
}

.domain-line {
  margin-top: 10px;
}

.domain-line a {
  color: var(--soft);
  text-decoration: none;
}

.domain-line a:hover {
  color: var(--gold-deep);
}

.form-card {
  background: #fff;
  border: 1px solid rgba(16, 24, 32, 0.08);
  padding: 22px;
  box-shadow: 0 16px 40px rgba(16, 24, 32, 0.05);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 16px;
}

.span-2 {
  grid-column: span 2;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.label-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px 12px;
  font-size: 0.92rem;
  font-weight: 600;
}

.opt {
  flex: 0 0 auto;
  font-weight: 500;
  color: var(--soft);
  white-space: nowrap;
}

input,
textarea {
  width: 100%;
  border: 1px solid rgba(16, 24, 32, 0.18);
  background: #fff;
  color: var(--ink);
  padding: 12px 14px;
  font-size: 1rem;
}

textarea {
  min-height: 140px;
  resize: vertical;
}

.field.has-error input,
.field.has-error textarea {
  border-color: var(--danger);
}

.error {
  color: var(--danger);
  font-size: 0.85rem;
}

.error:empty {
  display: none;
}

.form-note {
  margin-top: 12px;
  color: var(--soft);
  font-size: 0.92rem;
}

.form-status {
  margin-top: 16px;
  padding: 14px;
  background: #f3ecda;
  border: 1px solid rgba(154, 123, 47, 0.35);
}

.form-status pre {
  white-space: pre-wrap;
  font-family: "Be Vietnam Pro", "Segoe UI", sans-serif;
  font-size: 0.92rem;
  margin: 10px 0 0;
}

.site-footer {
  background: var(--navy-deep);
  color: #c5ced6;
  padding: 48px 0 40px;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
}

.footer-name {
  font-size: 2rem;
  color: #f7f4ec;
  line-height: 1;
}

.footer-legal {
  margin-top: 8px;
  max-width: 28rem;
  font-size: 0.95rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-end;
}

.footer-links a {
  color: #f0d9a0;
  overflow-wrap: anywhere;
}

.disclaimer {
  margin-top: 28px;
  max-width: 48rem;
  font-size: 0.92rem;
  color: #a8b3bf;
}

.copy {
  margin-top: 18px;
  font-size: 0.88rem;
  color: #8b97a3;
}

@media (max-width: 980px) {
  .process-list {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 860px) {
  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    display: none;
    position: absolute;
    top: calc(100% + 1px);
    left: 50%;
    transform: translateX(-50%);
    width: 100vw;
    margin: 0;
    padding: 8px 22px 16px;
    background: var(--navy);
    border-bottom: 1px solid rgba(224, 194, 122, 0.28);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
  }

  .site-header.is-open .site-nav {
    display: flex;
  }

  .site-nav a {
    width: 100%;
    padding: 12px 0;
  }

  .lang {
    margin-left: auto;
  }

  .hero-grid,
  .about-grid,
  .contact-grid,
  .section-head,
  .principle-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .hero {
    padding: 48px 0 64px;
  }
}

@media (max-width: 640px) {
  .wrap {
    width: min(1120px, calc(100% - 32px));
  }

  .section {
    padding: 64px 0;
  }

  .facts div,
  .service-list li,
  .form-grid,
  .process-list {
    grid-template-columns: 1fr;
  }

  .span-2 {
    grid-column: auto;
  }

  .footer-links {
    align-items: flex-start;
  }

  .logo-sub {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .nav-toggle span {
    transition: none;
  }
}
