/* =========================
   ROOT VARIABLES
========================= */
:root {
  --bg: #efe7df;
  --text: #241c18;
  --accent: #4a1106;
  --line: #000000;
  --white: #ffffff;
  --heading:
    "span-compressed", "Arial Narrow", "Helvetica Neue Condensed", sans-serif;
  --body: "Poppins", sans-serif;
}

/* =========================
   GLOBAL RESET
========================= */
* {
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

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

button,
input,
textarea {
  font: inherit;
}

/* =========================
   REUSABLE UTILITIES
========================= */
.section-line {
  border-bottom: 1px solid var(--line);
}

.reveal-up,
.reveal-left,
.reveal-right {
  opacity: 1;
}

/* =========================
   HEADER / NAV
========================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(239, 231, 223, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 24px;
  position: relative;
}

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  display: block;
  width: auto;
  height: 40px;
}

.main-nav {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
}

.main-nav a {
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  position: relative;
  z-index: 30;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 1.5px;
  margin: 5px auto;
  background: var(--text);
  transition:
    transform 0.3s ease,
    opacity 0.3s ease;
}

/* =========================
   TYPOGRAPHY
========================= */
h1,
h2,
h3 {
  margin: 0;
  font-family: var(--heading);
  font-weight: 400;
  font-style: italic;
  line-height: 0.92;
  letter-spacing: -0.05em;
}

h1 {
  max-width: 520px;
  margin-bottom: 26px;
  font-size: clamp(3.3rem, 5.2vw, 6.2rem);
}

h2 {
  max-width: 470px;
  margin-bottom: 22px;
  font-size: clamp(2.8rem, 4.5vw, 5.3rem);
}

h3 {
  margin-bottom: 14px;
  font-size: clamp(2rem, 2.4vw, 3rem);
}

p {
  margin: 0 0 14px;
  font-size: 0.82rem;
  line-height: 1.55;
}

.section-label {
  margin-bottom: 14px;
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* =========================
   BUTTONS / LINKS
========================= */
.site-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 146px;
  padding: 14px 26px;
  border: 1px solid var(--text);
  border-radius: 999px;
  background: var(--accent);
  color: var(--white);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition:
    transform 0.25s ease,
    opacity 0.25s ease;
}

.site-btn:hover {
  transform: translateY(-1px);
  opacity: 0.92;
}

.site-btn--small {
  min-width: 164px;
  padding: 12px 22px;
  font-size: 0.68rem;
}

.text-link {
  align-self: flex-end;
  margin-top: 40px;
  font-size: 0.8rem;
  letter-spacing: 0.03em;
  text-decoration: underline;
}

.site-btn--outline {
  background: transparent;
  color: var(--accent);
  border: 1px solid var(--accent);
}

.site-btn--outline:hover {
  background: var(--accent);
  color: var(--white);
}

/* =========================
   HERO SECTION
========================= */
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 580px;
}

.hero-grid__image {
  border-right: 1px solid var(--line);
}

.hero-grid__image img {
  display: block;
  width: 100%;
  height: 580px;
  object-fit: cover;
}

.hero-grid__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 74px 70px;
}

.hero-grid__content .site-btn {
  opacity: 1 !important;
  visibility: visible !important;
}

.hero-copy {
  max-width: 420px;
  margin-bottom: 24px;
}

/* =========================
   TICKER STRIP
========================= */
.ticker-strip {
  overflow: hidden;
  background: var(--accent);
  color: var(--white);
  border-bottom: 1px solid var(--line);
}

.ticker-track {
  display: flex;
  width: max-content;
  animation: tickerMove 28s linear infinite;
}

.ticker-strip__inner {
  display: flex;
  gap: 12px;
  padding: 14px 16px;
  white-space: nowrap;
  font-size: 1rem;
}

@keyframes tickerMove {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

/* =========================
   INTRO SECTION
========================= */
.intro-grid {
  display: grid;
  grid-template-columns: 60% 40%;
  min-height: 500px;
}

.intro-grid__text {
  display: flex;
  flex-direction: column;
  padding: 6rem;
}

.intro-grid__text p {
  max-width: 420px;
}

.intro-grid__image {
  height: 100%;
  overflow: hidden;
  border-left: 1px solid var(--line);
}

.intro-grid__image img {
  display: block;
  width: 100%;
  height: 550px;
  object-fit: cover;
}

/* =========================
   SERVICES SECTION
========================= */
.services-grid {
  display: grid;
  grid-template-columns: 34% 66%;
  min-height: 620px;
}

.services-grid__image {
  border-right: 1px solid var(--line);
}

.services-grid__image img {
  height: 100%;
  object-fit: cover;
}

.services-grid__cards {
  display: grid;
  grid-template-rows: repeat(3, 1fr);
}

.service-row {
  display: grid;
  grid-template-columns: 1fr 190px;
  align-items: center;
  gap: 20px;
  padding: 38px 34px 34px;
  border-bottom: 1px solid var(--line);
}

.service-row:last-child {
  border-bottom: 0;
}

.service-row__text {
  max-width: 500px;
}

.service-row__cta {
  display: flex;
  justify-content: flex-end;
}

/* =========================
   TRUST STRIP
========================= */
.trust-strip {
  padding: 22px 24px;
  background: var(--accent);
  color: var(--white);
  border-bottom: 1px solid var(--line);
}

.trust-strip p {
  margin: 0;
  text-align: center;
  font-size: 1rem;
}

/* =========================
   PORTFOLIO SECTION
========================= */
.portfolio-layout {
  padding: 60px 24px 70px;
}

.portfolio-stage {
  position: relative;
  max-width: 1200px;
  height: 520px;
  margin: 0 auto;
}

.portfolio-copy {
  position: absolute;
  top: 10px;
  left: 60px;
  max-width: 260px;
}

.portfolio-copy h2 {
  margin-bottom: 16px;
}

.portfolio-copy p {
  max-width: 220px;
}

.portfolio-image {
  position: absolute;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #ddd;
}

.portfolio-image a {
  display: block;
  width: 100%;
  height: 100%;
}

.portfolio-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition:
    transform 0.4s ease,
    box-shadow 0.4s ease;
}

.portfolio-image:hover img {
  transform: scale(1.05);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.portfolio-image--left {
  left: 23px;
  bottom: 40px;
  width: 185px;
  height: 140px;
}

.portfolio-image--center {
  left: 400px;
  bottom: 100px;
  width: 200px;
  height: 280px;
}

.portfolio-image--right {
  top: 40px;
  right: 250px;
  width: 120px;
  height: 140px;
}

.portfolio-cta {
  position: absolute;
  top: 220px;
  right: 40px;
  width: 220px;
}

.portfolio-cta p {
  margin-bottom: 18px;
}

/* =========================
   TEMPLATE SECTION
========================= */
.template-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 600px;
}

.template-grid__text {
  padding: 5rem;
}

.template-grid__image {
  border-left: 1px solid var(--line);
}

.template-grid__image img {
  display: block;
  width: 100%;
  height: 600px;
  object-fit: cover;
}

/* =========================
   CONTACT SECTION
========================= */
.contact-grid {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  max-width: 60%;
  width: 100%;

  margin: 0 auto;

  padding-top: 3rem;
  padding-bottom: 3rem;
}

.contact-grid__text {
  padding: 4rem;
  text-align: center;
}
.contact-grid h2 {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.contact-centered {
  padding: 1.5rem;
  display: flex;
  justify-content: center;
}

.contact-centered__inner {
  width: 100%;
  max-width: 820px;
  text-align: center;
}

.contact-centered__inner h1 {
  margin-bottom: 18px;
}

.contact-centered__intro {
  max-width: 420px;
  margin: 0 auto 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* FORM */
.tally-embed-wrap {
  overflow: hidden;
  background: transparent;
}

.tally-embed-wrap iframe {
  display: block;
  width: 100%;
  min-height: 700px;
  border: 0;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-field {
  margin-bottom: 14px;
}

.form-field label {
  display: block;
  margin-bottom: 8px;
  font-size: 0.72rem;
  font-style: italic;
}

.custom-contact-form input,
.custom-contact-form textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: transparent;
  font-size: 0.84rem;
}

.custom-contact-form textarea {
  min-height: 132px;
  resize: vertical;
}

.custom-contact-form button {
  margin-top: 8px;
  cursor: pointer;
}

/* =========================
   FOOTER
========================= */
.footer-strip {
  padding: 18px 24px;
  background: var(--accent);
  color: var(--white);
  border: 1px solid var(--line);
}

.footer-strip__nav {
  display: flex;
  justify-content: center;
  gap: 38px;
  flex-wrap: wrap;
}

.footer-strip__nav a {
  font-family: var(--body);
  font-size: 1.35rem;
  line-height: 1;
  text-transform: uppercase;
}

.footer-gallery {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  padding: 18px 10px 26px;
}

.footer-gallery__item img {
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border: 1px solid #c3bbb3;
}

.tally-embed-wrap iframe {
  display: block;
  width: 100%;
  min-height: 650px;
  border: 0;
}

/* =========================
   TABLET / SMALL DESKTOP
========================= */
@media (max-width: 980px) {
  .hero-grid,
  .intro-grid,
  .services-grid,
  .template-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero-grid__image,
  .intro-grid__image,
  .services-grid__image,
  .template-grid__image,
  .contact-grid__form {
    border: 0;
  }

  .intro-grid__image,
  .services-grid__image {
    border-top: 1px solid var(--line);
    border-left: none;
  }

  .intro-grid__image img,
  .services-grid__image img {
    width: 100%;
    height: auto;
    max-height: 300px;
    object-fit: cover;
  }

  .hero-grid__content,
  .intro-grid__text,
  .template-grid__text,
  .contact-grid__text,
  .contact-grid__form {
    padding: 34px 24px;
  }

  .services-grid__cards {
    grid-template-rows: auto;
  }

  .service-row {
    grid-template-columns: 1fr;
  }

  .service-row__cta {
    justify-content: flex-start;
  }

  .portfolio-stage {
    position: static;
    display: grid;
    height: auto;
    gap: 20px;
  }

  .portfolio-copy,
  .portfolio-image,
  .portfolio-cta {
    position: static;
    width: auto;
    max-width: none;
  }

  .portfolio-image--left,
  .portfolio-image--center,
  .portfolio-image--right {
    width: 100%;
    height: 220px;
  }

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

  .contact-grid__text {
    order: 1;
  }

  .contact-grid__form {
    order: 2;
  }
}

/* =========================
   MOBILE
========================= */
@media (max-width: 640px) {
  .header-inner {
    padding: 16px 20px;
    gap: 14px;
  }

  h1 {
    font-size: 3rem;
  }

  h2 {
    font-size: 2.4rem;
  }

  .menu-toggle {
    display: block;
  }

  .main-nav {
    position: fixed;
    inset: 0;
    z-index: 20;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 30px;
    width: 100%;
    height: 100vh;
    background: var(--bg);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-20px);
    transition: all 0.4s ease;
  }

  .main-nav a {
    font-size: 1.3rem;
    letter-spacing: 0.1em;
  }

  .main-nav.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
  }

  .menu-toggle.is-open span:nth-child(1) {
    transform: translateY(6.5px) rotate(45deg);
  }

  .menu-toggle.is-open span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle.is-open span:nth-child(3) {
    transform: translateY(-6.5px) rotate(-45deg);
  }
}
