:root {
  --bg: #f2efe8;
  --surface: #faf8f2;
  --surface-alt: #e7e1d4;
  --text: #1d2730;
  --text-soft: #4d5963;
  --border: #cfc7b8;
  --accent: #24384c;
  --accent-strong: #182736;
  --container: 70rem;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  font-family: "Trebuchet MS", "Segoe UI", Arial, sans-serif;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
}

a {
  color: inherit;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid rgba(35, 66, 58, 0.35);
  outline-offset: 3px;
}

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

h1,
h2 {
  font-weight: 700;
  letter-spacing: -0.03em;
}

.container {
  width: min(calc(100% - 2rem), var(--container));
  margin: 0 auto;
}

.hero {
  padding: 3.5rem 0 0;
}

.hero__inner {
  display: grid;
  gap: 0;
  border: 1px solid var(--border);
  background: var(--surface);
}

.hero__identity,
.hero__panel {
  padding: 2rem;
}

.hero__identity {
  border-bottom: 1px solid var(--border);
}

.section__label {
  margin-bottom: 0.85rem;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}

.hero h1 {
  margin-bottom: 1rem;
  font-size: clamp(3rem, 7vw, 4.8rem);
  line-height: 1;
}

.hero__lede {
  max-width: 38rem;
  margin-bottom: 0;
  font-size: 1.05rem;
  color: var(--text-soft);
}

.hero__panel {
  background: #f0ebdf;
}

.hero__image {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  height: auto;
  margin-bottom: 0;
  border: 1px solid var(--border);
  background: #f8f4ea;
  object-fit: cover;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  border: 1px solid var(--accent);
  border-radius: 0;
  padding: 0.65rem 1.2rem;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: background-color 140ms ease, color 140ms ease;
}

.button__icon {
  width: 1rem;
  height: 1rem;
  flex: 0 0 auto;
}

.button:hover {
  background: var(--accent-strong);
}

.button--primary {
  background: var(--accent);
  color: #f5f1e8;
}

.button--primary:hover {
  background: var(--accent-strong);
}

.section {
  padding: 0;
}

#contact {
  padding-top: 2rem;
}

.contact-block {
  display: grid;
  gap: 0;
  border: 1px solid var(--border);
  background: var(--surface);
}

.contact-block > div {
  padding: 2rem;
}

.contact-box {
  position: relative;
  display: grid;
  place-items: center;
  background: #f6f2e9;
  min-height: 100%;
}

.body-copy,
.contact-block p {
  color: var(--text-soft);
}

.contact-box__label {
  position: absolute;
  top: 2rem;
  left: 2rem;
  margin: 0;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}

.footer {
  padding: 2rem 0 2.6rem;
}

.footer__inner {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
  color: var(--text-soft);
}

.footer__inner p {
  margin-bottom: 0;
  font-weight: 700;
  color: var(--accent);
}

@media (min-width: 760px) {
  .hero__inner,
  .contact-block {
    grid-template-columns: minmax(0, 0.95fr) minmax(22rem, 1.05fr);
  }

  .hero__identity,
  .contact-block > div:first-child {
    border-right: 1px solid var(--border);
    border-bottom: 0;
  }
}

@media (max-width: 759px) {
  .hero__identity,
  .contact-block > div:first-child {
    border-bottom: 1px solid var(--border);
  }

  .footer__inner {
    flex-direction: column;
  }
}
