:root {
  --ink: #0e2430;
  --ink-soft: #2a4452;
  --mist: #e8f1f4;
  --paper: #f4f8f9;
  --lake: #0f5a66;
  --lake-deep: #083842;
  --copper: #c56a3a;
  --copper-hover: #a8552c;
  --line: rgba(14, 36, 48, 0.12);
  --shadow: 0 24px 60px rgba(8, 56, 66, 0.18);
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Outfit", "Avenir Next", sans-serif;
  --max: 68rem;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
}

.site-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: min(100% - 2rem, var(--max));
  margin: 0 auto;
  padding: 1.25rem 0;
  color: var(--mist);
}

.brand {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  font-weight: 560;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.nav-contact {
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
  border-bottom: 1px solid rgba(232, 241, 244, 0.45);
  padding-bottom: 0.15rem;
  transition: border-color 0.25s ease, color 0.25s ease;
}

.nav-contact:hover {
  border-color: #fff;
}

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: end;
  color: var(--mist);
  overflow: hidden;
}

.hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
  animation: heroDrift 18s ease-in-out infinite alternate;
}

.hero__veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(8, 56, 66, 0.35) 0%, rgba(8, 56, 66, 0.2) 35%, rgba(8, 56, 66, 0.78) 100%),
    radial-gradient(ellipse at 20% 10%, rgba(197, 106, 58, 0.22), transparent 45%);
}

.hero__content {
  position: relative;
  z-index: 1;
  width: min(100% - 2rem, var(--max));
  margin: 0 auto;
  padding: 0 0 clamp(3.5rem, 10vh, 6rem);
}

.hero h1 {
  margin: 0 0 0.85rem;
  max-width: 14ch;
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 8vw, 5.4rem);
  font-weight: 560;
  line-height: 1.02;
  letter-spacing: -0.035em;
  opacity: 0;
  transform: translateY(1.25rem);
  animation: riseIn 0.9s ease forwards 0.15s;
}

.hero__lede {
  margin: 0 0 1.75rem;
  max-width: 34ch;
  font-size: clamp(1.05rem, 2.2vw, 1.3rem);
  font-weight: 300;
  line-height: 1.45;
  opacity: 0;
  transform: translateY(1.25rem);
  animation: riseIn 0.9s ease forwards 0.35s;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 3rem;
  padding: 0.75rem 1.4rem;
  border: 0;
  border-radius: 999px;
  background: var(--copper);
  color: #fff;
  font: inherit;
  font-size: 1rem;
  font-weight: 560;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.btn:hover {
  background: var(--copper-hover);
  transform: translateY(-1px);
}

.btn:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}

.hero .btn {
  opacity: 0;
  transform: translateY(1.25rem);
  animation: riseIn 0.9s ease forwards 0.55s;
}

.section {
  width: min(100% - 2rem, var(--max));
  margin: 0 auto;
  padding: clamp(4rem, 10vw, 6.5rem) 0;
}

.section__eyebrow {
  margin: 0 0 0.65rem;
  color: var(--lake);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.section h2 {
  margin: 0 0 0.85rem;
  max-width: 18ch;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 560;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.section__intro {
  margin: 0;
  max-width: 42ch;
  color: var(--ink-soft);
}

.services {
  background:
    linear-gradient(180deg, #eef5f7 0%, var(--paper) 100%);
}

.service-list {
  list-style: none;
  margin: 2.75rem 0 0;
  padding: 0;
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.service-list li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem 1.5rem;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--line);
}

.service-list strong {
  grid-column: 2;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 560;
  letter-spacing: -0.02em;
}

.service-list p {
  grid-column: 2;
  margin: 0.2rem 0 0;
  color: var(--ink-soft);
  max-width: 46ch;
}

.service-index {
  grid-row: 1 / span 2;
  color: var(--lake);
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 500;
  padding-top: 0.35rem;
}

.contact {
  background: var(--lake-deep);
  color: var(--mist);
}

.contact .section {
  display: grid;
  gap: 2.5rem;
}

@media (min-width: 860px) {
  .contact .section {
    grid-template-columns: 1fr 1.1fr;
    align-items: start;
    gap: 4rem;
  }
}

.contact .section__eyebrow {
  color: #8ec4ce;
}

.contact .section__intro,
.contact a {
  color: rgba(232, 241, 244, 0.82);
}

.contact a:hover {
  color: #fff;
}

.contact-form {
  display: grid;
  gap: 1rem;
}

.field label {
  display: block;
  margin-bottom: 0.4rem;
  font-size: 0.9rem;
  font-weight: 500;
}

.field input,
.field textarea {
  width: 100%;
  border: 1px solid rgba(232, 241, 244, 0.22);
  border-radius: 0.75rem;
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  font: inherit;
  padding: 0.85rem 1rem;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.field input::placeholder,
.field textarea::placeholder {
  color: rgba(232, 241, 244, 0.4);
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: rgba(197, 106, 58, 0.9);
  background: rgba(255, 255, 255, 0.1);
}

.field textarea {
  min-height: 9rem;
  resize: vertical;
}

.hp {
  position: absolute;
  left: -9999px;
  opacity: 0;
  height: 0;
  width: 0;
  overflow: hidden;
}

.form-status {
  margin: 0 0 1rem;
  padding: 0.85rem 1rem;
  border-radius: 0.75rem;
  font-size: 0.95rem;
}

.form-status--ok {
  background: rgba(142, 196, 206, 0.18);
  border: 1px solid rgba(142, 196, 206, 0.45);
}

.form-status--err {
  background: rgba(197, 106, 58, 0.18);
  border: 1px solid rgba(197, 106, 58, 0.45);
}

.site-footer {
  background: #062930;
  color: rgba(232, 241, 244, 0.65);
  padding: 1.5rem 0;
  font-size: 0.9rem;
}

.site-footer__inner {
  width: min(100% - 2rem, var(--max));
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  justify-content: space-between;
}

@keyframes riseIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes heroDrift {
  to {
    transform: scale(1.1) translate3d(-1.5%, -1%, 0);
  }
}

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

  .hero__media img,
  .hero h1,
  .hero__lede,
  .hero .btn {
    animation: none;
    opacity: 1;
    transform: none;
  }
}
