:root {
  --ink: #171814;
  --muted: #5f6359;
  --soft: #f8f7f3;
  --stone: #ebe5dc;
  --line: #d8d1c6;
  --green: #2f5639;
  --green-dark: #24442c;
  --brass: #b78a41;
  --white: #ffffff;
  --shadow: 0 24px 80px rgba(37, 39, 33, 0.16);
  --radius: 6px;
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
}

img,
svg {
  display: block;
}

a {
  color: inherit;
}

button,
input,
select,
textarea {
  font: inherit;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: 0;
  transform: translateY(-120%);
  z-index: 10;
  background: var(--ink);
  color: var(--white);
  padding: 0.75rem 1rem;
  border-radius: var(--radius);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 8;
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 0.75rem clamp(1rem, 4vw, 4.5rem);
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(216, 209, 198, 0.86);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
  min-width: max-content;
}

.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  color: var(--brass);
}

.brand-mark svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.brand strong {
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.25rem, 2vw, 1.65rem);
  font-weight: 500;
  line-height: 1;
  text-transform: uppercase;
}

.brand small {
  display: block;
  margin-top: 0.3rem;
  color: var(--brass);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(1rem, 3vw, 2.8rem);
}

.nav-links a {
  position: relative;
  padding: 0.4rem 0;
  color: var(--ink);
  font-size: 0.9rem;
  text-decoration: none;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  transform: scaleX(0);
  transform-origin: left;
  background: var(--green);
  transition: transform 180ms ease;
}

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

.project-form {
  margin: 0;
}

.bot-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.hero {
  min-height: calc(100vh - 72px);
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(620px, 1.55fr);
  align-items: stretch;
  border-bottom: 1px solid var(--line);
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(2rem, 7vw, 6rem) clamp(1.25rem, 4vw, 4.5rem);
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.98), rgba(255, 255, 255, 0.92)),
    var(--white);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  letter-spacing: 0;
}

h1 {
  max-width: 11ch;
  margin-bottom: 1.3rem;
  font-size: clamp(3.2rem, 6vw, 6.25rem);
  line-height: 0.94;
}

.lead {
  max-width: 38rem;
  margin-bottom: 1.8rem;
  color: var(--muted);
  font-size: clamp(1rem, 1.15vw, 1.18rem);
  line-height: 1.65;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  min-height: 46px;
  width: fit-content;
  border: 1px solid transparent;
  border-radius: var(--radius);
  padding: 0.85rem 1.25rem;
  cursor: pointer;
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: none;
  transition: background 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.button::after {
  content: "";
  width: 0.5rem;
  height: 0.5rem;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: rotate(45deg);
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.button-primary {
  background: var(--green);
  color: var(--white);
  box-shadow: 0 14px 30px rgba(47, 86, 57, 0.22);
}

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

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

.hero-points {
  display: grid;
  gap: 1rem;
  margin: 1.9rem 0 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
}

.hero-points li {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  line-height: 1.5;
}

.point-icon {
  width: 26px;
  height: 26px;
  display: grid;
  flex: 0 0 26px;
  place-items: center;
  color: var(--green);
}

.point-icon svg,
.feature-row svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.planner-stage {
  position: relative;
  min-height: 690px;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(480px, 600px) minmax(280px, 340px);
  gap: 1.15rem;
  align-items: center;
  justify-content: center;
  padding: clamp(1.4rem, 4vw, 4rem);
  isolation: isolate;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
  overflow: hidden;
}

.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.planner-stage::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.58), rgba(255, 255, 255, 0.2) 42%, rgba(255, 255, 255, 0.48));
}

.planner-card,
.summary-card,
.contact-panel {
  border: 1px solid rgba(216, 209, 198, 0.9);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow);
}

.planner-card {
  width: 100%;
  margin-left: 0;
  padding: clamp(1rem, 2vw, 1.35rem);
}

.panel-heading,
.summary-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.panel-heading h2,
.summary-title h2 {
  margin: 0;
  font-size: clamp(1.45rem, 2vw, 2rem);
  line-height: 1.1;
}

.reset-button {
  border: 0;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-size: 0.82rem;
  font-weight: 700;
}

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

label span,
legend {
  display: block;
  margin-bottom: 0.4rem;
  color: var(--ink);
  font-size: 0.78rem;
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid #cfc8bc;
  border-radius: 4px;
  background: var(--white);
  color: var(--ink);
  padding: 0.75rem 0.8rem;
  font-size: 0.9rem;
  line-height: 1.3;
}

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

input:focus,
select:focus,
textarea:focus,
button:focus-visible,
a:focus-visible {
  outline: 3px solid rgba(183, 138, 65, 0.35);
  outline-offset: 2px;
}

.service-fieldset {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.65rem;
  margin: 1rem 0;
  padding: 0;
  border: 0;
}

.service-fieldset legend {
  grid-column: 1 / -1;
}

.service-fieldset label {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  min-height: 42px;
  border: 1px solid #d3ccc0;
  border-radius: 4px;
  padding: 0.55rem 0.65rem;
  color: var(--ink);
  font-size: 0.78rem;
  font-weight: 700;
}

.service-fieldset input,
.consent input {
  width: auto;
  accent-color: var(--green);
}

.notes-field {
  display: block;
}

.planner-submit {
  margin-top: 0.8rem;
  margin-left: auto;
}

.summary-card {
  position: static;
  width: 100%;
  padding: 1.2rem;
}

.summary-icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  flex: 0 0 44px;
  color: var(--brass);
  border: 1px solid rgba(183, 138, 65, 0.45);
  border-radius: 50%;
}

.summary-icon svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.summary-title {
  justify-content: flex-start;
}

.summary-title p {
  margin: 0.25rem 0 0;
  color: var(--muted);
  font-size: 0.8rem;
}

.summary-list {
  display: grid;
  gap: 0.7rem;
  margin: 0 0 1rem;
}

.summary-list div,
.summary-services li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  border-bottom: 1px solid #e5ded3;
  padding-bottom: 0.6rem;
}

.summary-list dt,
.summary-services span {
  color: var(--muted);
  font-size: 0.8rem;
}

.summary-list dd {
  margin: 0;
  text-align: right;
  font-size: 0.82rem;
  font-weight: 700;
}

.summary-services {
  display: grid;
  gap: 0.55rem;
  margin: 0 0 1rem;
  padding: 0;
  list-style: none;
}

.summary-services strong {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--green);
  font-size: 0.82rem;
}

.summary-services strong::before {
  content: "";
  width: 0.48rem;
  height: 0.48rem;
  border-radius: 999px;
  background: currentColor;
}

.next-step {
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.55;
}

.band {
  display: grid;
  grid-template-columns: minmax(240px, 0.45fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4rem);
  padding: clamp(2.2rem, 5vw, 4.6rem) clamp(1.25rem, 5vw, 5rem);
  border-bottom: 1px solid var(--line);
}

.section-intro span,
.checklist-copy span {
  display: block;
  margin-bottom: 0.8rem;
  color: var(--green);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.section-intro h2,
.checklist-copy h2 {
  margin-bottom: 0.8rem;
  font-size: clamp(2rem, 4vw, 3.3rem);
  line-height: 1.08;
}

.section-intro p,
.checklist-copy p {
  color: var(--muted);
  line-height: 1.7;
}

.feature-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.feature-row article {
  padding: 0 1.4rem;
  border-left: 1px solid var(--line);
}

.feature-row svg {
  width: 42px;
  height: 42px;
  margin-bottom: 1rem;
  color: var(--green);
}

.feature-row h3,
.scenario-grid h3,
.checklist-columns h3 {
  margin-bottom: 0.45rem;
  font-size: 1rem;
  line-height: 1.25;
}

.feature-row p,
.scenario-grid p,
.checklist-columns li {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.55;
}

.scenarios {
  background: var(--soft);
}

.scenario-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.scenario-grid article {
  min-height: 170px;
  padding: 1.3rem;
  background: var(--soft);
}

.checklist {
  display: grid;
  grid-template-columns: minmax(240px, 0.42fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4rem);
  padding: clamp(2.4rem, 5vw, 4.8rem) clamp(1.25rem, 5vw, 5rem);
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.86), rgba(255, 255, 255, 0.72)),
    var(--stone);
}

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

.checklist-columns article {
  padding: 1rem;
  border-left: 1px solid rgba(47, 86, 57, 0.2);
}

.checklist-columns ul {
  display: grid;
  gap: 0.45rem;
  margin: 0;
  padding-left: 1.1rem;
}

.contact-band {
  display: grid;
  grid-template-columns: minmax(260px, 0.44fr) minmax(0, 1fr);
  min-height: 430px;
  border-bottom: 1px solid var(--line);
}

.contact-image {
  background-image:
    linear-gradient(0deg, rgba(23, 24, 20, 0.08), rgba(23, 24, 20, 0.08)),
    url("/assets/images/project-concierge-hero.png");
  background-image:
    linear-gradient(0deg, rgba(23, 24, 20, 0.08), rgba(23, 24, 20, 0.08)),
    image-set(
      url("/assets/images/project-concierge-hero-960.webp") type("image/webp") 1x,
      url("/assets/images/project-concierge-hero.webp") type("image/webp") 2x,
      url("/assets/images/project-concierge-hero.png") type("image/png")
    );
  background-position: center;
  background-size: cover;
}

.contact-panel {
  align-self: center;
  margin: clamp(1.25rem, 4vw, 4rem);
  padding: clamp(1.25rem, 4vw, 2.2rem);
  box-shadow: none;
}

.brief-preview {
  margin: 1.1rem 0;
  padding: 1rem 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.brief-preview-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.75rem;
}

.brief-preview-header span {
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.brief-preview-header strong {
  color: var(--muted);
  font-size: 0.78rem;
}

.brief-preview.is-armed .brief-preview-header strong {
  color: var(--green);
}

.brief-preview dl {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.8rem;
  margin: 0;
}

.brief-preview dt {
  color: var(--muted);
  font-size: 0.74rem;
}

.brief-preview dd {
  margin: 0.25rem 0 0;
  font-size: 0.84rem;
  font-weight: 800;
  line-height: 1.35;
}

.brief-preview p {
  margin: 0.8rem 0 0;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.5;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.9rem;
  margin-bottom: 1rem;
}

.consent {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.8rem;
  align-items: flex-start;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.55;
}

.consent span {
  display: inline;
  margin: 0;
  color: inherit;
  font-weight: 500;
}

.form-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 1.2rem;
}

.form-status {
  min-height: 1.5rem;
  margin: 0;
  color: var(--green);
  font-weight: 700;
}

.form-status[data-state="error"] {
  color: #8a3325;
}

.important-note {
  margin: 1rem 0 0;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.55;
}

.site-footer {
  display: grid;
  grid-template-columns: auto minmax(260px, 1fr) auto;
  align-items: center;
  gap: 2rem;
  padding: 1.4rem clamp(1.25rem, 5vw, 5rem);
}

.site-footer p {
  margin: 0;
  color: var(--muted);
  font-size: 0.85rem;
  line-height: 1.55;
}

.site-footer nav {
  display: flex;
  gap: 1.2rem;
  font-size: 0.86rem;
}

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

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

  .hero-copy {
    padding-bottom: 2rem;
  }

  .planner-stage {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 1rem;
    padding: 1.25rem;
  }

  .planner-card {
    margin: 0;
  }

  .band,
  .checklist,
  .contact-band {
    grid-template-columns: 1fr;
  }

  .feature-row,
  .scenario-grid,
  .checklist-columns,
  .contact-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .brief-preview dl {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .contact-image {
    min-height: 260px;
  }
}

@media (max-width: 760px) {
  .site-header {
    position: static;
    align-items: flex-start;
    flex-direction: column;
    gap: 0.8rem;
  }

  .nav-links {
    width: 100%;
    justify-content: space-between;
    gap: 0.7rem;
    overflow-x: auto;
    padding-bottom: 0.2rem;
  }

  .nav-links a {
    min-width: fit-content;
  }

  .brand small {
    letter-spacing: 0.2em;
  }

  h1 {
    max-width: 12ch;
    font-size: clamp(2.8rem, 15vw, 4.2rem);
  }

  .hero-copy {
    padding: 2.2rem 1.1rem;
  }

  .planner-stage {
    padding: 1rem;
  }

  .field-grid,
  .service-fieldset,
  .feature-row,
  .scenario-grid,
  .checklist-columns,
  .brief-preview dl,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .service-fieldset label {
    min-height: 46px;
  }

  .planner-card,
  .summary-card,
  .contact-panel {
    padding: 1rem;
  }

  .band,
  .checklist {
    padding: 2.4rem 1.1rem;
  }

  .feature-row article {
    padding: 1rem 0 0;
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .contact-panel {
    margin: 1rem;
  }

  .site-footer {
    grid-template-columns: 1fr;
    align-items: flex-start;
  }
}

@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;
  }
}
