/* =============================================================
   Ekaa, The Event Collective
   Hand crafted, lightweight stylesheet. Mobile first.
   Palette: Ivory #F5F0E8, Charcoal #2C2C2C, Terracotta #C17A5A
   Type system (consistent site wide):
     Cormorant Garamond -> headings, display, names, numerals only
     DM Sans            -> all body copy, labels, UI
   ============================================================= */

:root {
  --ivory: #f5f0e8;
  --ivory-deep: #ece4d6;
  --charcoal: #2c2c2c;
  --charcoal-soft: #4a4a4a;
  --terracotta: #c17a5a;
  --terracotta-dark: #a9633f;
  --terracotta-tint: rgba(193, 122, 90, 0.1);
  --line: rgba(44, 44, 44, 0.12);
  --maxw: 1180px;
  --gut: clamp(1.25rem, 5vw, 4rem);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--ivory);
  color: var(--charcoal);
  font-family: "DM Sans", system-ui, -apple-system, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

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

a {
  color: var(--terracotta-dark);
  text-decoration: none;
}

a:hover {
  color: var(--charcoal);
}

h1,
h2,
h3 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: 0.01em;
  margin: 0;
}

p {
  margin: 0 0 1rem;
}

/* ---------- layout helpers ---------- */
.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding-left: var(--gut);
  padding-right: var(--gut);
}

.section {
  padding-block: clamp(3.5rem, 9vw, 7.5rem);
}

.section--tight {
  padding-block: clamp(2.25rem, 5vw, 3.75rem);
}

.kicker {
  font-family: "DM Sans", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--terracotta-dark);
  margin: 0 0 1.25rem;
}

.section-title {
  font-size: clamp(2rem, 6vw, 3.4rem);
}

.lead {
  font-size: clamp(1.05rem, 2.4vw, 1.25rem);
  max-width: 46ch;
  color: var(--charcoal-soft);
}

/* ---------- buttons / links ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: "DM Sans", sans-serif;
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  padding: 0.9rem 1.7rem;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease,
    transform 0.2s ease;
}

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

.btn--primary {
  background: var(--terracotta);
  color: var(--ivory);
}

.btn--primary:hover {
  background: var(--terracotta-dark);
  color: var(--ivory);
}

.btn--ghost {
  background: transparent;
  color: var(--charcoal);
  border-color: var(--line);
}

.btn--ghost:hover {
  border-color: var(--charcoal);
  color: var(--charcoal);
}

.link-arrow {
  font-family: "DM Sans", sans-serif;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--terracotta-dark);
  letter-spacing: 0.02em;
}

.link-arrow::after {
  content: " \2192";
}

.link-arrow:hover {
  color: var(--charcoal);
}

/* ---------- header / nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(245, 240, 232, 0.88);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  height: 80px;
}

.brand-mark {
  display: flex;
  align-items: center;
}

.brand-mark img {
  height: 56px;
  width: auto;
}

/* links fill the space between logo and button and sit at even intervals */
.nav-links {
  display: none;
  flex: 1;
  align-items: center;
  justify-content: space-evenly;
}

.nav-links a {
  color: var(--charcoal);
  font-size: 0.9rem;
  letter-spacing: 0.04em;
}

.nav-links a:hover {
  color: var(--terracotta-dark);
}

.nav-cta {
  display: none;
}

@media (min-width: 860px) {
  .nav-links {
    display: flex;
  }
  .nav-cta {
    display: inline-flex;
  }
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  background: linear-gradient(180deg, var(--ivory) 0%, var(--ivory-deep) 100%);
  padding-block: clamp(2.5rem, 6vw, 4.5rem);
  overflow: hidden;
}

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.hero__copy {
  max-width: 42ch;
}

.hero h1 {
  font-size: clamp(2.6rem, 9vw, 3.5rem);
  margin: 0.6rem 0 1.3rem;
}

.hero__sub {
  font-size: clamp(1.05rem, 2.2vw, 1.3rem);
  color: var(--charcoal-soft);
  max-width: 34ch;
  margin-bottom: 2rem;
}

.hero__cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

/* on narrow phones, stack the two CTAs full width so neither clips */
@media (max-width: 560px) {
  .hero__cta-row .btn {
    flex: 1 1 100%;
    justify-content: center;
  }
  .founder__cta {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.1rem;
  }
}

.hero__media img {
  width: 100%;
  border-radius: 16px;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  box-shadow: 0 30px 60px rgba(44, 44, 44, 0.14);
}

@media (min-width: 860px) {
  .hero {
    min-height: calc(100vh - 80px);
    display: flex;
    align-items: center;
  }
  .hero__grid {
    grid-template-columns: 1.2fr 0.8fr;
    width: 100%;
  }
  /* size the headline to sit on a single line beside the image on desktop */
  .hero h1 {
    font-size: clamp(1.9rem, 2.7vw, 2.5rem);
    white-space: nowrap;
  }
  .hero__media img {
    aspect-ratio: 5 / 6;
    max-height: 78vh;
  }
}

/* ---------- intro ---------- */
.section--intro {
  /* tighter so the band before WHAT WE DO is not a dead expanse */
  padding-top: clamp(3rem, 7vw, 5.5rem);
  padding-bottom: clamp(2.25rem, 5vw, 3.5rem);
}

.intro__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.intro h2 {
  font-size: clamp(1.9rem, 5.5vw, 3rem);
  max-width: 16ch;
  margin-bottom: 1.4rem;
}

.intro__copy p {
  font-size: clamp(1.05rem, 2.2vw, 1.25rem);
  color: var(--charcoal-soft);
  max-width: 52ch;
}

.intro__stats {
  list-style: none;
  margin: 1.75rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}

.intro__stats li {
  position: relative;
  padding-left: 1.5rem;
  font-weight: 500;
  color: var(--charcoal);
  font-size: 1rem;
}

.intro__stats li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--terracotta);
}

.intro__media img {
  width: 100%;
  border-radius: 16px;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  box-shadow: 0 24px 50px rgba(44, 44, 44, 0.13);
}

@media (min-width: 820px) {
  .intro__grid {
    grid-template-columns: 1.15fr 0.85fr;
  }
}

/* ---------- services ---------- */
.services {
  background: var(--ivory-deep);
  /* tighten so the headline does not float far above the grid */
  padding-top: clamp(2.75rem, 6vw, 4.5rem);
  padding-bottom: clamp(3rem, 7vw, 5.5rem);
}

.grid-head {
  margin-bottom: clamp(1.75rem, 4vw, 2.75rem);
}

.pillars {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 720px) {
  .pillars {
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
  }
}

.pillar {
  background: var(--ivory);
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.pillar__visual {
  aspect-ratio: 1 / 1;
  background: var(--ivory-deep);
}

.pillar__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pillar__icon {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--terracotta);
  background: var(--terracotta-tint);
}

.pillar__icon svg {
  width: 64px;
  height: 64px;
}

.pillar__body {
  padding: clamp(1.5rem, 3.5vw, 2.25rem);
}

.pillar h3 {
  font-size: 1.6rem;
  margin-bottom: 0.55rem;
}

.pillar p {
  color: var(--charcoal-soft);
  margin: 0;
}

/* ---------- founder ---------- */
.founder__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.founder__media img {
  width: 100%;
  border-radius: 16px;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center top;
  box-shadow: 0 26px 54px rgba(44, 44, 44, 0.16);
}

@media (min-width: 860px) {
  .founder__grid {
    grid-template-columns: 0.85fr 1.15fr;
    align-items: start;
  }
}

.founder__name {
  font-size: clamp(2.2rem, 6vw, 3.4rem);
  margin-top: 0.4rem;
}

.founder__role {
  display: block;
  font-family: "DM Sans", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.75rem;
  color: var(--terracotta-dark);
  margin-top: 0.6rem;
}

/* body is normal body type (DM Sans), name is the headline */
.founder__body {
  margin-top: 1.75rem;
}

.founder__body p {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--charcoal-soft);
}

/* thin gold rule marks the shift from "what I did" to "what I bring" */
.founder__shift {
  padding-top: 1.4rem;
  border-top: 1px solid var(--terracotta);
}

.founder__location {
  font-family: "DM Sans", sans-serif;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--charcoal);
  margin: 0.5rem 0 1.75rem;
}

.founder__cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.5rem;
}

/* ---------- gallery ---------- */
.section--work {
  padding-top: clamp(2.75rem, 6vw, 4.5rem);
  padding-bottom: clamp(2.75rem, 6vw, 4.5rem);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}

@media (min-width: 720px) {
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
  }
}

.gallery-grid img {
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 8px;
}

.gallery-follow {
  margin: 1.75rem 0 0;
  color: var(--charcoal-soft);
  font-size: 0.98rem;
}

/* ---------- process ---------- */
.process {
  background: var(--charcoal);
  color: var(--ivory);
  /* tighten the top so the section does not open lazily */
  padding-top: clamp(2.75rem, 6vw, 5rem);
  padding-bottom: clamp(3.5rem, 8vw, 6.5rem);
  border-bottom: 2px solid var(--terracotta);
}

.process .kicker {
  color: var(--terracotta);
}

.process .section-title,
.process h3 {
  color: var(--ivory);
}

.steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-top: clamp(1.75rem, 4vw, 3rem);
}

@media (min-width: 720px) {
  .steps {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1000px) {
  .steps {
    grid-template-columns: repeat(4, 1fr);
  }
}

.step {
  border-top: 1px solid rgba(245, 240, 232, 0.25);
  padding-top: 1.25rem;
}

/* vertical separators between columns, in terracotta so they read on the dark bg */
@media (min-width: 1000px) {
  .step {
    padding-left: 1.75rem;
    padding-right: 0.5rem;
    border-left: 2px solid var(--terracotta);
  }
  .step:first-child {
    padding-left: 0;
    border-left: none;
  }
}

.step__num {
  font-family: "Cormorant Garamond", serif;
  font-size: 2.6rem;
  color: var(--terracotta);
  line-height: 1;
}

.step h3 {
  font-size: 1.4rem;
  margin: 0.6rem 0 0.5rem;
}

.step p {
  color: rgba(245, 240, 232, 0.72);
  margin: 0;
  font-size: 0.98rem;
}

/* ---------- testimonials ---------- */
.quotes {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 760px) {
  .quotes {
    grid-template-columns: repeat(2, 1fr);
  }
}

.quote {
  background: var(--ivory-deep);
  border-radius: 14px;
  padding: clamp(1.75rem, 4vw, 2.5rem);
}

.quote p {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.5rem;
  line-height: 1.4;
  color: var(--charcoal);
}

.quote cite {
  font-style: normal;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  color: var(--terracotta-dark);
}

/* ---------- instagram ---------- */
.insta {
  text-align: center;
}

.insta .section-title {
  margin-bottom: 1.25rem;
  max-width: 22ch;
  margin-inline: auto;
}

.insta__handle {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(1.4rem, 4vw, 2rem);
  display: inline-block;
  margin-bottom: 1.75rem;
}

/* ---------- enquiry ---------- */
.enquiry {
  background: var(--ivory-deep);
}

.enquiry__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 3.5rem);
}

@media (min-width: 880px) {
  .enquiry__grid {
    grid-template-columns: 1fr 1fr;
    align-items: center; /* balance the short headline against the taller form */
  }
}

.enquiry__intro .section-title {
  max-width: 18ch;
}

.enquiry__direct {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-top: 1.75rem;
}

.direct-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.8rem 1.25rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--charcoal-soft);
  background: transparent; /* lighter than the WhatsApp block, so it leads */
  font-size: 0.94rem;
  transition: border-color 0.2s ease, transform 0.2s ease, background 0.2s ease;
}

.direct-link:hover {
  border-color: var(--terracotta);
  color: var(--charcoal);
  transform: translateY(-1px);
}

.direct-link strong {
  font-weight: 500;
}

.direct-link span {
  display: block;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--terracotta-dark);
}

/* WhatsApp is the primary channel, so it leads visually */
.direct-link--primary {
  background: var(--terracotta);
  border-color: var(--terracotta);
  color: var(--ivory);
  padding: 1.1rem 1.25rem;
  font-size: 1rem;
  box-shadow: 0 12px 28px rgba(193, 122, 90, 0.25);
}

.direct-link--primary span {
  color: rgba(245, 240, 232, 0.85);
}

.direct-link--primary:hover {
  background: var(--terracotta-dark);
  border-color: var(--terracotta-dark);
  color: var(--ivory);
}

/* ---------- form ---------- */
.form {
  display: grid;
  gap: 1.1rem;
}

.field {
  display: grid;
  gap: 0.4rem;
}

.field label {
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--charcoal-soft);
}

.field input,
.field textarea {
  font-family: "DM Sans", sans-serif;
  font-size: 1rem;
  color: var(--charcoal);
  background: var(--ivory);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.85rem 1rem;
  width: 100%;
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--terracotta);
  box-shadow: 0 0 0 3px rgba(193, 122, 90, 0.15);
}

.field textarea {
  min-height: 120px;
  resize: vertical;
}

/* send button sits at standard button size, aligned left, not full bleed */
.form .btn {
  justify-self: start;
}

.form-nudge {
  margin: 0.5rem 0 0;
  font-size: 1.05rem;
  color: var(--charcoal);
}

.form-nudge a {
  color: var(--terracotta-dark);
  font-weight: 500;
  border-bottom: 1px solid var(--terracotta);
  padding-bottom: 1px;
}

.form-nudge a:hover {
  color: var(--charcoal);
  border-color: var(--charcoal);
}

.notice {
  background: var(--terracotta);
  color: var(--ivory);
  border-radius: 12px;
  padding: 1.1rem 1.4rem;
  margin-bottom: 1.5rem;
  font-size: 1rem;
}

/* ---------- footer corporate line ---------- */
.footer__corporate {
  margin: 2rem 0 0;
  padding-top: 1.75rem;
  border-top: 1px solid rgba(245, 240, 232, 0.15);
  font-size: 0.92rem;
  line-height: 1.7;
  font-weight: 700;
  color: var(--terracotta);
  max-width: 70ch;
}

/* ---------- footer ---------- */
.site-footer {
  background: var(--charcoal);
  color: var(--ivory);
  padding-block: clamp(3rem, 7vw, 4.5rem);
}

.footer__grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 720px) {
  .footer__grid {
    grid-template-columns: 1.4fr 1fr 1fr;
  }
}

.footer__logo {
  height: 64px;
  width: auto;
}

.footer__tag {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.25rem;
  color: rgba(245, 240, 232, 0.7);
  margin-top: 0.75rem;
}

.footer h4 {
  font-family: "DM Sans", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.72rem;
  color: var(--terracotta);
  margin: 0 0 0.9rem;
}

.site-footer a {
  color: rgba(245, 240, 232, 0.85);
  display: block;
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
}

.site-footer a:hover {
  color: var(--terracotta);
}

.footer__loc {
  color: rgba(245, 240, 232, 0.7);
  margin: 0;
}

.footer__legal {
  border-top: 1px solid rgba(245, 240, 232, 0.15);
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  font-size: 0.8rem;
  color: rgba(245, 240, 232, 0.5);
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  justify-content: space-between;
  align-items: center;
}

.footer__policy {
  display: inline-flex;
  gap: 1.25rem;
}

.footer__policy a {
  display: inline;
  margin: 0;
  color: rgba(245, 240, 232, 0.7);
}

/* ---------- legal pages ---------- */
.legal__wrap {
  max-width: 70ch;
}

.legal__wrap .section-title {
  margin-bottom: 1.5rem;
}

.legal__wrap p {
  color: var(--charcoal-soft);
  font-size: 1.05rem;
}

.legal__contact {
  margin-top: 1.5rem;
}

/* ---------- sticky mobile enquire ---------- */
.sticky-cta {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 60;
  display: flex;
  gap: 0.6rem;
}

.sticky-cta .btn {
  flex: 1;
  justify-content: center;
  box-shadow: 0 10px 30px rgba(44, 44, 44, 0.18);
}

.sticky-enquire {
  background: var(--ivory);
}

@media (min-width: 860px) {
  .sticky-cta {
    display: none;
  }
}

@media (max-width: 859px) {
  body {
    padding-bottom: 5rem;
  }
}

/* ---------- reveal on scroll ----------
   Progressive enhancement: content is visible by default. Only when JS is
   present (html.has-js) do we hide then animate it in. No JS, no hidden copy. */
.has-js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.has-js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .has-js .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
