:root {
  --page: #ede4d4;
  --paper: #fff9f0;
  --sand: #d9b98f;
  --caramel: #9d5f2d;
  --caramel-dark: #7b421e;
  --cocoa: #76502f;
  --brown: #35251b;
  --deep: #10130f;
  --forest: #38422a;
  --line: rgba(53, 37, 27, 0.18);
  --shadow: 0 18px 45px rgba(36, 27, 20, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--page);
  color: var(--brown);
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.65;
}

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

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

.hero-start {
  position: relative;
  min-height: 100vh;
  display: grid;
  place-items: center;
  overflow: hidden;
  color: #fff9f0;
  isolation: isolate;
}

.hero-bg,
.hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-bg {
  object-fit: cover;
  object-position: center 38%;
  z-index: -3;
}

.hero-shade {
  z-index: -2;
  background:
    linear-gradient(180deg, rgba(8, 13, 18, 0.58) 0%, rgba(8, 13, 18, 0.18) 32%, rgba(12, 12, 9, 0.24) 58%, rgba(9, 10, 8, 0.68) 100%),
    linear-gradient(90deg, rgba(0, 0, 0, 0.32), rgba(0, 0, 0, 0.06) 46%, rgba(0, 0, 0, 0.3));
}

.hero-header {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
  width: 100%;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 28px;
  padding: clamp(26px, 3.4vw, 42px) clamp(28px, 4.2vw, 58px);
}

.hero-logo {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  color: rgba(255, 255, 255, 0.92);
}

.camera-icon {
  width: 34px;
  height: 34px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.1;
}

.hero-logo strong,
.hero-logo small {
  display: block;
  line-height: 1;
}

.hero-logo strong {
  font-size: clamp(1.45rem, 2.4vw, 2rem);
  letter-spacing: 0.02em;
}

.hero-logo small {
  margin-top: 6px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: clamp(0.66rem, 1vw, 0.83rem);
  font-weight: 700;
  letter-spacing: 0.34em;
}

.hero-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(28px, 4vw, 58px);
  padding-top: 9px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: clamp(0.95rem, 1.3vw, 1.18rem);
  font-weight: 700;
}

.hero-nav a {
  color: rgba(255, 255, 255, 0.78);
  transition: color 160ms ease;
}

.hero-nav a:hover,
.hero-nav a:focus-visible {
  color: #fff;
}

.hero-center {
  width: min(850px, calc(100% - 32px));
  padding-top: 6vh;
  text-align: center;
}

.hero-center h1 {
  margin: 0;
  color: #fff9f0;
  font-size: clamp(3.3rem, 8vw, 6.6rem);
  font-weight: 700;
  line-height: 0.94;
  text-shadow: 0 5px 28px rgba(0, 0, 0, 0.36);
}

.hero-center p {
  margin: 26px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-family: Arial, Helvetica, sans-serif;
  font-size: clamp(1.16rem, 2vw, 1.55rem);
  font-weight: 700;
  letter-spacing: 0.01em;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.35);
}

.hero-button {
  display: inline-flex;
  min-width: 274px;
  min-height: 58px;
  align-items: center;
  justify-content: center;
  margin-top: 34px;
  border-radius: 999px;
  background: var(--caramel);
  color: #fff9f0;
  padding: 15px 31px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.26);
  transition: background 160ms ease, transform 160ms ease;
}

.hero-button:hover,
.hero-button:focus-visible {
  background: var(--caramel-dark);
  transform: translateY(-2px);
}

.scroll-cue {
  position: absolute;
  bottom: 22px;
  left: 50%;
  z-index: 2;
  color: rgba(255, 255, 255, 0.72);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 2.2rem;
  line-height: 1;
  transform: translateX(-50%);
}

.feature-grid {
  width: min(1160px, calc(100% - 32px));
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: 245px;
  gap: 16px;
  margin: 0 auto;
  padding: clamp(64px, 9vw, 104px) 0;
}

.feature-card {
  position: relative;
  overflow: hidden;
  border: 10px solid var(--paper);
  box-shadow: var(--shadow);
  background: var(--cocoa);
}

.feature-card::before {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(32, 17, 12, 0.06), rgba(32, 17, 12, 0.62));
  content: "";
}

.feature-card img {
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 400ms ease;
}

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

.bird-card img {
  object-position: center 48%;
}

.forest-card img {
  object-position: center 50%;
}

.branch-card img {
  object-position: center 40%;
}

.feature-card:hover img,
.feature-card:focus-visible img {
  transform: scale(1.05);
}

.feature-card span {
  position: absolute;
  right: 22px;
  bottom: 18px;
  left: 22px;
  z-index: 2;
  color: var(--paper);
  font-size: clamp(1.55rem, 2.5vw, 2.25rem);
  line-height: 1.08;
  text-shadow: 0 2px 12px rgba(32, 17, 12, 0.5);
}

.feature-card.branch-card span {
  color: var(--brown);
  text-shadow: 0 1px 10px rgba(255, 249, 240, 0.45);
}

.feature-large {
  grid-column: span 2;
  grid-row: span 2;
}

.feature-wide {
  grid-column: span 2;
}

.scriptline {
  margin: 0 0 12px;
  color: var(--caramel);
  font-family: "Brush Script MT", "Segoe Script", cursive;
  font-size: clamp(1.65rem, 3vw, 2.45rem);
  line-height: 1.1;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h2,
h3 {
  margin: 0;
  font-weight: 500;
  line-height: 1.12;
}

h2 {
  font-size: clamp(2.25rem, 4.5vw, 4.4rem);
}

h3 {
  font-size: clamp(1.35rem, 2vw, 1.75rem);
}

.intro-band,
.contact-section,
.testimonial-section {
  background: var(--paper);
}

.offer-section,
.gallery-section {
  background:
    linear-gradient(180deg, rgba(255, 249, 240, 0), rgba(255, 249, 240, 0.36)),
    var(--page);
}

.intro-copy,
.contact-box,
.section-heading {
  width: min(820px, calc(100% - 32px));
  margin-inline: auto;
  text-align: center;
}

.intro-copy {
  padding: clamp(68px, 10vw, 124px) 0;
}

.intro-copy p:last-child,
.contact-box p {
  margin: 24px auto 0;
  max-width: 670px;
  font-size: clamp(1.04rem, 1.45vw, 1.2rem);
}

.offer-section,
.gallery-section,
.testimonial-section {
  width: min(1160px, calc(100% - 32px));
  margin-inline: auto;
  padding: clamp(66px, 9vw, 112px) 0;
}

.section-heading {
  margin-bottom: clamp(34px, 5vw, 56px);
}

.offer-row,
.testimonial-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.offer-row article,
.testimonial-row blockquote {
  min-height: 235px;
  padding: clamp(24px, 3vw, 38px);
  border-right: 1px solid var(--line);
  text-align: center;
}

.offer-row article:last-child,
.testimonial-row blockquote:last-child {
  border-right: 0;
}

.offer-row span {
  display: inline-grid;
  width: 44px;
  height: 44px;
  place-items: center;
  margin-bottom: 18px;
  border: 1px solid var(--caramel);
  border-radius: 50%;
  color: var(--caramel);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.76rem;
  font-weight: 700;
}

.offer-row p {
  margin: 16px 0 0;
}

.testimonial-row {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.testimonial-row blockquote {
  display: grid;
  place-items: center;
  margin: 0;
  min-height: 190px;
  font-size: clamp(1.25rem, 2.2vw, 1.75rem);
  line-height: 1.35;
}

.testimonial-row p {
  margin: 0;
}

.gallery-section {
  padding-top: 0;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: 230px;
  gap: 14px;
}

.gallery-item {
  margin: 0;
  overflow: hidden;
  border: 8px solid var(--paper);
  background: var(--paper);
  box-shadow: 0 12px 30px rgba(61, 37, 24, 0.12);
}

.gallery-item img {
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.gallery-item.tall {
  grid-row: span 2;
}

.gallery-item.wide {
  grid-column: span 2;
}

.contact-box {
  padding: clamp(70px, 10vw, 122px) 0;
}

.contact-button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  margin-top: 30px;
  border: 1px solid var(--caramel);
  border-radius: 999px;
  background: var(--caramel);
  color: var(--paper);
  padding: 13px 26px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 24px clamp(18px, 4vw, 60px);
  background: var(--deep);
  color: rgba(255, 249, 240, 0.76);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.76rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.footer p {
  margin: 0;
}

@media (max-width: 900px) {
  .hero-header {
    align-items: center;
    padding: 22px 20px;
  }

  .hero-nav {
    gap: 18px;
    font-size: 0.86rem;
  }

  .feature-grid,
  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .feature-large,
  .feature-wide,
  .gallery-item.wide {
    grid-column: span 2;
  }

  .offer-row,
  .testimonial-row {
    grid-template-columns: 1fr;
  }

  .offer-row article,
  .testimonial-row blockquote {
    min-height: 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .offer-row article:last-child,
  .testimonial-row blockquote:last-child {
    border-bottom: 0;
  }
}

@media (max-width: 640px) {
  .hero-header {
    display: grid;
    justify-items: center;
    gap: 18px;
  }

  .hero-logo {
    gap: 12px;
  }

  .camera-icon {
    width: 30px;
    height: 30px;
  }

  .hero-nav {
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px 22px;
  }

  .hero-center {
    padding-top: 12vh;
  }

  .hero-center h1 {
    font-size: clamp(3rem, 14vw, 4.7rem);
  }

  .hero-center p {
    font-size: 1.05rem;
  }

  .hero-button {
    min-width: 0;
    width: min(100%, 295px);
    font-size: 0.86rem;
  }

  .feature-grid,
  .gallery-grid,
  .offer-section,
  .gallery-section,
  .testimonial-section {
    width: min(100% - 24px, 1160px);
  }

  .feature-grid,
  .gallery-grid {
    grid-auto-rows: 210px;
    gap: 12px;
  }

  .feature-card,
  .gallery-item {
    border-width: 6px;
  }

  .footer {
    display: grid;
    text-align: center;
  }
}
