:root {
  --paper: #f1ecdf;
  --paper-soft: #f7f2e6;
  --ink: #30302d;
  --muted: #625c54;
  --accent: #835719;
  --accent-deep: #563611;
  --line: #b9ad99;
  --rose: #8f5751;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--paper);
  overflow-x: hidden;
}

body {
  min-height: 100%;
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  font-size: 18px;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

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

.site-shell {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
}

.site-header {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 28px;
  padding: 36px 7% 0;
}

.brand {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  width: 210px;
  line-height: 0;
}

.brand picture {
  display: block;
  width: 100%;
}

.brand img {
  width: 100%;
  height: auto;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 38px;
  color: #47443f;
  font-size: 22px;
  font-weight: 600;
}

.main-nav a {
  transition: color 180ms ease;
}

.main-nav a:hover {
  color: var(--accent-deep);
}

.header-actions {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 14px;
}

.icon-button {
  position: relative;
  display: inline-grid;
  width: 32px;
  height: 32px;
  place-items: center;
}

.icon-button img {
  width: 25px;
  height: 25px;
}

.icon-badge {
  position: absolute;
  top: 2px;
  right: -1px;
  display: grid;
  min-width: 17px;
  height: 17px;
  place-items: center;
  border-radius: 999px;
  background: #8a6327;
  color: #f7f0e1;
  font-family: Arial, sans-serif;
  font-size: 10px;
  font-weight: 700;
}

.mobile-menu {
  display: none;
}

.mobile-menu summary {
  list-style: none;
}

.mobile-menu summary::-webkit-details-marker {
  display: none;
}

.hero {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  align-items: center;
  min-height: calc(100svh - 98px);
  padding: 28px 7% 96px;
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 620px;
  padding-top: 8px;
}

.eyebrow {
  margin: 0 0 30px;
  color: var(--accent);
  font-size: 18px;
  font-weight: 600;
  line-height: 1.2;
}

h1 {
  max-width: 670px;
  margin: 0;
  color: var(--ink);
  font-family: "Bodoni Moda", Georgia, "Times New Roman", serif;
  font-size: 92px;
  font-weight: 400;
  font-optical-sizing: auto;
  font-variation-settings: "opsz" 80;
  line-height: 0.99;
}

h1 span {
  display: block;
}

.description {
  max-width: 490px;
  margin: 42px 0 0;
  color: #4f4c45;
  font-size: 17px;
  font-weight: 500;
  line-height: 1.22;
  overflow-wrap: break-word;
}

.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  min-width: 142px;
  height: 48px;
  margin-top: 58px;
  border-radius: 8px;
  background: var(--accent);
  color: #fff7e8;
  font-size: 19px;
  font-weight: 700;
  line-height: 1;
  transition: background 180ms ease, transform 180ms ease;
}

.cta:hover {
  background: var(--accent-deep);
  transform: translateY(-1px);
}

.cta span {
  font-size: 26px;
  line-height: 0;
}

.hero-visual {
  position: absolute;
  inset: 0 0 0 auto;
  z-index: 0;
  width: 63%;
  min-width: 680px;
  pointer-events: none;
}

.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: right bottom;
}

.site-footer {
  position: absolute;
  z-index: 3;
  bottom: 30px;
  left: 7%;
  right: auto;
  color: rgba(48, 48, 45, 0.72);
  font-size: 15px;
  font-weight: 500;
}

@media (min-width: 1280px) {
  h1 {
    font-size: 106px;
  }

}

@media (max-width: 980px) {
  .site-shell {
    overflow-x: hidden;
    overflow-y: visible;
  }

  .site-header {
    grid-template-columns: 1fr auto;
    padding: 30px 6% 0;
  }

  .main-nav {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-content: flex-start;
    gap: 24px;
  }

  .header-actions {
    grid-column: 2;
    grid-row: 1;
  }

  .mobile-menu {
    display: none;
  }

  .hero {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    min-height: 0;
    padding: 56px 6% 42px;
  }

  .hero-copy {
    width: 100%;
    max-width: 680px;
    padding-top: 0;
  }

  h1 {
    font-size: 72px;
  }

  .hero-visual {
    position: relative;
    width: 100%;
    min-width: 0;
    min-height: 460px;
    margin: 34px 0 16px;
  }

  .hero-visual img {
    object-position: right bottom;
  }

  .site-footer {
    position: static;
    padding: 0 6% 30px;
  }
}

@media (max-width: 620px) {
  .site-header {
    gap: 18px;
    padding-top: 24px;
  }

  .brand {
    width: 170px;
  }

  .main-nav {
    display: none;
  }

  .header-actions {
    display: none;
  }

  .mobile-menu {
    position: relative;
    z-index: 5;
    display: block;
    justify-self: end;
  }

  .mobile-menu summary {
    display: flex;
    width: 46px;
    height: 46px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    border: 1px solid rgba(86, 54, 17, 0.28);
    border-radius: 999px;
    cursor: pointer;
  }

  .mobile-menu summary span {
    display: block;
    width: 19px;
    height: 1.5px;
    background: var(--ink);
    transition: transform 180ms ease, opacity 180ms ease;
  }

  .mobile-menu[open] summary span:first-child {
    transform: translateY(6px) rotate(45deg);
  }

  .mobile-menu[open] summary span:nth-child(2) {
    opacity: 0;
  }

  .mobile-menu[open] summary span:last-child {
    transform: translateY(-6px) rotate(-45deg);
  }

  .mobile-menu nav {
    position: absolute;
    top: 56px;
    right: 0;
    display: grid;
    min-width: 190px;
    overflow: hidden;
    border: 1px solid rgba(86, 54, 17, 0.18);
    border-radius: 8px;
    background: rgba(247, 242, 230, 0.98);
    box-shadow: 0 16px 30px rgba(48, 48, 45, 0.08);
  }

  .mobile-menu nav a {
    display: flex;
    min-height: 46px;
    align-items: center;
    padding: 0 18px;
    color: #47443f;
    font-size: 19px;
    font-weight: 700;
  }

  .mobile-menu nav a + a {
    border-top: 1px solid rgba(86, 54, 17, 0.12);
  }

  .hero {
    padding-top: 34px;
  }

  .hero-copy {
    max-width: 340px;
  }

  .eyebrow {
    margin-bottom: 24px;
    font-size: 18px;
  }

  h1 {
    font-size: 44px;
  }

  .description {
    max-width: 330px;
    font-size: 17px;
  }

  .cta {
    min-width: 136px;
    height: 46px;
    margin-top: 30px;
    font-size: 18px;
  }

  .hero-visual {
    min-height: 380px;
    margin-top: 18px;
  }

  .site-footer {
    padding-bottom: 26px;
  }
}

@media (max-width: 380px) {
  h1 {
    font-size: 40px;
  }

}

@media (max-width: 980px) {
  .main-nav,
  .header-actions {
    display: none;
  }

  .mobile-menu {
    position: relative;
    z-index: 5;
    display: block;
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
  }

  .mobile-menu summary {
    display: flex;
    width: 46px;
    height: 46px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    border: 1px solid rgba(86, 54, 17, 0.28);
    border-radius: 999px;
    cursor: pointer;
  }

  .mobile-menu summary span {
    display: block;
    width: 19px;
    height: 1.5px;
    background: var(--ink);
    transition: transform 180ms ease, opacity 180ms ease;
  }

  .mobile-menu[open] summary span:first-child {
    transform: translateY(6px) rotate(45deg);
  }

  .mobile-menu[open] summary span:nth-child(2) {
    opacity: 0;
  }

  .mobile-menu[open] summary span:last-child {
    transform: translateY(-6px) rotate(-45deg);
  }

  .mobile-menu nav {
    position: absolute;
    top: 56px;
    right: 0;
    display: grid;
    min-width: 190px;
    overflow: hidden;
    border: 1px solid rgba(86, 54, 17, 0.18);
    border-radius: 8px;
    background: rgba(247, 242, 230, 0.98);
    box-shadow: 0 16px 30px rgba(48, 48, 45, 0.08);
  }

  .mobile-menu nav a {
    display: flex;
    min-height: 46px;
    align-items: center;
    padding: 0 18px;
    color: #47443f;
    font-size: 19px;
    font-weight: 700;
  }

  .mobile-menu nav a + a {
    border-top: 1px solid rgba(86, 54, 17, 0.12);
  }
}
