:root {
  --green: #64ad43;
  --green-dark: #4f9635;
  --pink: #d91d72;
  --orange: #ffb33d;
  --orange-soft: #ffc86d;
  --text: #111;
  --muted: #4d4d4d;
  --white: #fff;
  --shadow: 0 18px 60px rgba(0,0,0,.18);
  --soft-shadow: 0 14px 40px rgba(0,0,0,.10);
  --max: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--text);
  font-family: Roboto, Arial, sans-serif;
  background: #fff;
  line-height: 1.62;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: #008fc7; text-underline-offset: 3px; }
.container { width: min(var(--max), calc(100% - 48px)); margin-inline: auto; }

.hero { position: relative; min-height: clamp(500px, 56vw, 590px); overflow: visible; }
.hero__background {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0,0,0,.82) 0%, rgba(0,0,0,.58) 5%, rgba(0,0,0,.20) 20%, rgba(0,0,0,.04) 20%),
    linear-gradient(to bottom, rgba(0,0,0,.12), rgba(0,0,0,.26)),
    url("../images/hero-horti-center.jpg") center / cover;
}
.hero__content {
  position: relative;
  z-index: 1;
  min-height: inherit;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 380px);
  align-items: end;
  gap: clamp(18px, 3.8vw, 48px);
  padding: clamp(86px, 7vw, 100px) 0 clamp(34px, 4.8vw, 56px);
}
.hero__copy { max-width: 690px; }
.hero__logo {
  position: absolute;
  z-index: 2;
  top: 0;
  left: max(16px, calc((100vw - var(--max)) / 2));
  width: 168px;
  background: #fff;
  padding: 16px;
  box-shadow: var(--shadow);
}
.eyebrow {
  margin: 0;
  font-family: "Roboto Condensed", sans-serif;
  font-size: clamp(3.4rem, 8.6vw, 6.4rem);
  line-height: .86;
  font-weight: 900;
  color: var(--green);
  text-shadow: 0 2px 0 #fff, 0 10px 26px rgba(0,0,0,.50);
  letter-spacing: -2px;
}
.hero__tagline {
  max-width: 560px;
  margin: 10px 0 0;
  color: rgba(255,255,255,.96);
  font-size: clamp(1.8rem, 1.55vw, 1.22rem);
  line-height: 1.35;
  font-weight: 900;
  text-shadow: 0 3px 14px rgba(0,0,0,.72);
}
.date-card {
  background: linear-gradient(135deg, rgba(255,200,109,.98), rgba(255,179,61,.94));
  color: #fff;
  text-align: center;
  padding: clamp(20px, 2.4vw, 28px);
  font-weight: 900;
  box-shadow: 0 26px 80px rgba(0,0,0,.28);
  border-radius: 24px;
  border: 1px solid rgba(255,255,255,.45);
  backdrop-filter: blur(12px);
  transform: none;
}

.date-card span, .date-card small { display: block; }
.date-card span { color: rgba(255,255,255,.88); text-transform: uppercase; letter-spacing: .08em; font-size: .85rem; }
.date-card strong { display: block; font-size: clamp(1.75rem, 2.65vw, 2.38rem); line-height: 1.03; margin: 10px 0 12px; text-shadow: 0 3px 18px rgba(0,0,0,.22); }
.date-card small { font-size: 1.05rem; line-height: 1.45; color: rgba(255,255,255,.94); }
.button { display: inline-flex; align-items: center; justify-content: center; border: 0; border-radius: 999px; background: var(--pink); color: #fff; text-decoration: none; font-weight: 900; padding: 12px 18px; box-shadow: 0 12px 30px rgba(217,29,114,.25); }
.button--small { padding: 10px 16px; }
.button--hero { margin-top: 18px; background: #fff; color: var(--pink); box-shadow: 0 16px 36px rgba(0,0,0,.18); }

.section-green { background: var(--green); color: #fff; }
.intro { padding: clamp(34px, 4.8vw, 56px) 0; }
.intro-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 5vw, 58px); }
.intro p { margin-top: 0; max-width: 62ch; }
.intro h2 { margin: 0 0 8px; font-size: 1.18rem; letter-spacing: -.01em; }
.fastlane-card {
  display: block;
  margin-top: 18px;
  background: linear-gradient(135deg, rgba(255,200,109,.98), rgba(255,179,61,.94));
  padding: 20px;
  border-radius: 10px;
  box-shadow: var(--soft-shadow);
  color: #fff;
  text-decoration: none;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.fastlane-card:hover { transform: translateY(-3px); box-shadow: 0 18px 42px rgba(0,0,0,.13); background: var(--pink); }
.fastlane-card:focus-visible { outline: 3px solid var(--pink); outline-offset: 4px; }
.fastlane-card--mobile { display: none; }
.fastlane-card h2 { font-size: 1.65rem; margin: 0 0 6px; }
.fastlane-card p { font-weight: 900; margin: 0; }

.projects { padding: clamp(34px, 5vw, 56px) 0 clamp(42px, 6vw, 66px); }
.projects > h2 { color: var(--pink); font-size: clamp(1.9rem, 4vw, 3rem); line-height: 1.08; margin: 0 0 18px; font-family: "Roboto Condensed", sans-serif; }
.project-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 44px; }
.project-card {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  gap: 16px;
  align-items: stretch;
}
.project-card img { width: 190px; height: 190px; object-fit: cover; }
.project-card > div {
  height: 190px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}
.project-card h3 { margin: 0 0 6px; font-family: "Roboto Condensed", sans-serif; font-size: 1.08rem; line-height: 1.08; }
.project-card p { margin: 0; color: #111; font-size: .86rem; line-height: 1.38; }

.location-map { background: #f6f7f3; padding: clamp(34px, 5vw, 58px) 0; }
.location-card { display: grid; grid-template-columns: .9fr 1.25fr; gap: clamp(20px, 4vw, 44px); align-items: stretch; background: #fff; border-radius: 28px; overflow: hidden; box-shadow: var(--soft-shadow); }
.location-copy { padding: clamp(24px, 4vw, 42px); }
.location-copy h2 { margin: 0 0 10px; color: var(--pink); font-family: "Roboto Condensed", sans-serif; font-size: clamp(1.8rem, 3.4vw, 2.6rem); line-height: 1; }
.location-copy p { margin: 0 0 14px; color: var(--muted); }
.location-copy strong { color: var(--text); }
.map-frame { min-height: 320px; background: #ddd; }
.map-frame iframe { width: 100%; height: 100%; min-height: 320px; border: 0; display: block; }
@media (max-width: 760px) {
  .location-card { grid-template-columns: 1fr; }
  .map-frame, .map-frame iframe { min-height: 280px; }
}

.footer { background: linear-gradient(135deg, #101010, #1d1d1d); color: #fff; padding: 24px 0; }
.footer-grid { display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.footer span { display: block; color: rgba(255,255,255,.76); }

@media (max-width: 900px) {
  .container { width: min(var(--max), calc(100% - 64px)); }
  .hero { overflow: hidden; }
  .hero__content { grid-template-columns: 1fr; align-items: end; }
  .date-card { width: min(100%, 380px); transform: none; }
  .intro-grid { grid-template-columns: 1fr; }
  .fastlane-card--desktop { display: none; }
  .fastlane-card--mobile { display: block; margin-top: 22px; }
  .projects.container { width: min(var(--max), calc(100% - 80px)); }
  .project-grid { grid-template-columns: 1fr; gap: 30px; }
  .project-card { grid-template-columns: 220px minmax(0, 1fr); }
  .project-card img, .project-card > div { width: 220px; height: 220px; }
  .project-card > div { width: auto; }
  .project-card h3 { font-size: 1.22rem; }
  .project-card p { font-size: .92rem; line-height: 1.42; }
}

@media (max-width: 580px) {
  .container { width: min(100% - 48px, var(--max)); }
  .hero { min-height: 530px; }
  .hero__content { padding-top: 30px; padding-bottom: 34px; }
  .hero__logo { left: 24px; width: 132px; padding: 12px; }
  .eyebrow { letter-spacing: -1px; margin-top: 50px; }
  .projects.container { width: min(100% - 48px, var(--max)); }
  .project-card { grid-template-columns: 1fr; gap: 0; }
  .project-card img { width: 100%; height: auto; aspect-ratio: 16 / 10; }
  .project-card > div { width: 100%; height: auto; max-height: none; overflow: visible; }
  .project-card h3 { font-size: 1.15rem; margin-bottom: 6px; }
  .project-card p { font-size: .9rem; line-height: 1.42; }
  .footer-grid { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 410px) {
  .container { width: min(100% - 36px, var(--max)); }
  .projects.container { width: min(100% - 36px, var(--max)); }
  .project-card { grid-template-columns: 1fr; }
  .project-card img { width: 100%; height: auto; aspect-ratio: 16 / 10; }
  .project-card > div { width: 100%; height: auto; max-height: none; overflow: visible; }
  .project-card p { font-size: .86rem; }
}


/* Polished version refinements */
.project-card img { border-radius: 3px; }
.project-card h3 { letter-spacing: -.01em; }
.project-card a { font-weight: 700; }
.button { transition: transform .18s ease, box-shadow .18s ease; }
.button:hover { transform: translateY(-2px); box-shadow: 0 16px 36px rgba(217,29,114,.32); }
@media (min-width: 901px) {
  .intro-grid > div:first-child { padding-right: 10px; }
  .intro-copy { padding-top: 4px; }
}


/* Editorial Premium A/B refinements */
.project-grid { gap: 34px 52px; }
.project-card {
  background: #fafaf8;
  border: 1px solid rgba(0,0,0,.06);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 12px 34px rgba(0,0,0,.075);
  gap: 0;
  transition: transform .18s ease, box-shadow .18s ease;
}
.project-card:hover { transform: translateY(-3px); box-shadow: 0 18px 42px rgba(0,0,0,.11); }
.project-card img { border-radius: 0; }
.project-card > div { padding: 16px; }
.project-card h3 { color: var(--pink); }
@media (min-width: 901px) {
  .project-card:nth-child(even) { grid-template-columns: minmax(0, 1fr) 190px; }
  .project-card:nth-child(even) img { grid-column: 2; grid-row: 1; }
  .project-card:nth-child(even) > div { grid-column: 1; grid-row: 1; }
}
@media (max-width: 900px) {
  .project-card > div { padding: 18px; }
}
@media (max-width: 580px) {
  .project-card > div { padding: 12px; }
}


/* Clickable project cards */
a.project-card {
  color: inherit;
  text-decoration: none;
  cursor: pointer;
}
a.project-card:focus-visible {
  outline: 3px solid var(--pink);
  outline-offset: 4px;
}
.project-card .text-link {
  color: #008fc7;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}


/* Final responsive fixes: keep logo clear of the title and let intro copy use full width */
@media (max-width: 900px) {
  .hero__copy {
    width: 100%;
  }

  .eyebrow {
    margin-top: 95px;
  }

  #intro-primary,
  .intro-primary,
  .intro-copy {
    width: 100%;
    max-width: none;
    grid-column: 1 / -1;
  }

  .intro p,
  .intro-primary p,
  .intro-copy p {
    max-width: none;
    width: 100%;
  }
}

@media (max-width: 580px) {
  .eyebrow {
    margin-top: 130px;
  }
}
