:root {
  --ink: #3a342c;
  --gold: #a68449;
  --line: #c9b89a;
  --btn: #3e3b31;
  --paper: #fff;
  --display: "Cormorant Garamond", Palatino, "Palatino Linotype", Georgia, serif;
  --text: "Libre Baskerville", Georgia, "Times New Roman", serif;
  --page: 1120px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--text);
  font-size: 15px;
  line-height: 1.55;
}

img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

a {
  color: inherit;
}

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

.site-header {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  max-width: calc(var(--page) + 2rem);
  margin: 0 auto;
  padding: 1.35rem 1.75rem 0.85rem;
}

.nav {
  display: flex;
  gap: 2.1rem;
}

.nav-left {
  justify-self: start;
}

.nav-right {
  justify-self: end;
}

.nav a {
  font-family: var(--display);
  font-size: 1.28rem;
  font-weight: 500;
  text-decoration: none;
  letter-spacing: 0.01em;
}

.nav a:hover {
  color: var(--gold);
}

.brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: var(--gold);
  text-decoration: none;
  text-align: center;
  line-height: 1;
}

.crown {
  width: 4.4rem;
  height: 1.85rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.15;
  stroke-linejoin: round;
  stroke-linecap: round;
}

.crown circle {
  fill: currentColor;
  stroke: none;
}

.brand-name {
  margin-top: 0.15rem;
  font-family: var(--display);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.brand-sub {
  margin-top: 0.22rem;
  font-family: var(--display);
  font-size: 0.48rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  line-height: 1.25;
}

main {
  max-width: var(--page);
  margin: 0 auto;
  padding: 0.4rem 1.75rem 4.5rem;
}

.hero {
  position: relative;
  height: min(32rem, 62vw);
  min-height: 22rem;
  overflow: hidden;
}

.hero img {
  object-position: center 42%;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(58, 46, 34, 0.18), rgba(58, 46, 34, 0.12) 38%, rgba(58, 46, 34, 0.28));
}

.hero-copy {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  color: #fff;
  text-align: center;
  text-shadow: 0 1px 12px rgba(40, 28, 16, 0.25);
}

.hero h1 {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(2.5rem, 5vw, 3.7rem);
  line-height: 1.05;
  letter-spacing: 0.005em;
}

.hero p {
  margin-top: 1rem;
  font-family: var(--display);
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  font-weight: 500;
  line-height: 1.35;
  max-width: 36rem;
}

.btn {
  display: inline-block;
  margin-top: 1.35rem;
  padding: 0.55rem 1.25rem;
  font-family: var(--text);
  font-size: 0.95rem;
  line-height: 1.3;
  text-decoration: none;
}

.btn-ghost {
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.92);
  background: transparent;
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.14);
}

.materials {
  padding: 4.2rem 0 0.5rem;
}

.materials h2,
.panel h2 {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(1.85rem, 3vw, 2.35rem);
  text-align: center;
  letter-spacing: 0.01em;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.85rem;
  margin-top: 1.7rem;
}

.card,
.panel {
  border: 1px dotted var(--line);
}

.card {
  padding: 1.55rem 1.2rem 1.7rem;
  text-align: center;
}

.card h3 {
  font-family: var(--display);
  font-size: 1.55rem;
  font-weight: 500;
  margin-bottom: 0.7rem;
}

.card p,
.panel p {
  font-size: 0.92rem;
  line-height: 1.55;
}

.split {
  display: grid;
  gap: 1.6rem;
  margin-top: 4.5rem;
  align-items: stretch;
}

.argument {
  grid-template-columns: 1.12fr 0.88fr;
}

.services {
  grid-template-columns: 1.45fr 0.72fr;
}

figure {
  margin: 0;
  min-height: 16rem;
  overflow: hidden;
}

.panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 2.2rem 2rem;
}

.panel h2 {
  text-align: left;
}

.panel p {
  margin-top: 0.85rem;
  max-width: 34rem;
}

.services-panel {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 1.5rem 2rem;
  align-items: center;
  padding: 2.4rem 2.1rem;
}

.service-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
}

.service-links a {
  font-family: var(--display);
  font-size: 1.28rem;
  font-weight: 500;
  line-height: 1.2;
  text-underline-offset: 0.16em;
}

.service-links a:hover {
  color: var(--gold);
}

.contact {
  margin-top: 6.5rem;
}

.contact-panel {
  align-items: center;
  text-align: center;
  padding: 3.1rem 1.5rem 2.5rem;
}

.contact-list {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.8rem 2.6rem;
  list-style: none;
  margin: 0;
  padding: 0;
  font-family: var(--display);
  font-size: 1.12rem;
  font-weight: 500;
}

.contact-list a {
  text-decoration: none;
}

.contact-list a:hover {
  color: var(--gold);
}

.box {
  display: inline-block;
  width: 0.72rem;
  height: 0.72rem;
  margin-right: 0.45rem;
  border: 1px solid #6e655b;
  transform: translateY(0.05rem);
}

.btn-solid {
  background: var(--btn);
  color: #fff;
  margin-top: 1.7rem;
}

.btn-solid:hover {
  background: #2c2a23;
}

.brand-footer {
  margin: 2.4rem auto 0;
}

@media (max-width: 860px) {
  .site-header {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 0.85rem;
    padding-top: 1rem;
  }

  .nav-left,
  .nav-right {
    justify-self: center;
  }

  .nav {
    gap: 1.4rem;
  }

  .cards,
  .argument,
  .services,
  .services-panel {
    grid-template-columns: 1fr;
  }

  .services figure {
    order: -1;
    min-height: 14rem;
  }

  .panel h2,
  .materials h2 {
    text-align: center;
  }

  .services-panel {
    text-align: center;
  }

  .panel p {
    margin-left: auto;
    margin-right: auto;
  }

  .service-links {
    align-items: center;
  }

  .contact {
    margin-top: 3.5rem;
  }

  .split {
    margin-top: 2.8rem;
  }
}
