/* ============================================
   Iron Seed Labs — Styles
   ============================================ */


/* --- Design Tokens --- */
:root {
  --green-deep: #1A5C3A;
  --green-dark: #0E3D26;
  --green-light: #2A7A50;
  --pink: #F25CA2;
  --pink-soft: #FADADD;
  --pink-deep: #C44882;
  --gold: #D4A843;
  --gold-soft: #F0DCA0;
  --gold-bg: #F2E6C2;
  --cream: #F7F2E8;
  --cream-dark: #EDE6D8;
  --black: #1A1A1A;
  --gray: #6B6B6B;
  --gray-light: #B0A898;
  --white: #FFFFFF;

  --font-display: 'Caprasimo', serif;
  --font-body: 'Faculty Glyphic', Georgia, serif;

  --nav-height: 110px;
  --container-max: 1140px;
  --radius: 12px;
  --radius-lg: 24px;
}

/* --- Reset & Base --- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-height);
}

body {
  font-family: var(--font-body);
  font-size: 1.15rem;
  font-weight: 500;
  line-height: 1.7;
  color: var(--black);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

/* --- Typography --- */
h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.2;
}

.section-title {
  font-size: clamp(2rem, 5vw, 3rem);
  margin-bottom: 0.5em;
  color: var(--green-deep);
}

.section-title--light {
  color: var(--cream);
}

.section-subtitle {
  font-size: 1.2rem;
  color: var(--gray);
  max-width: 600px;
  margin: 0 auto;
}

.section-subtitle--light {
  color: var(--cream-dark);
}

.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

/* --- Buttons --- */
.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 700;
  padding: 14px 32px;
  border-radius: 50px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
  letter-spacing: 0.02em;
}

.btn--pink {
  background: var(--pink);
  color: var(--white);
  border-color: var(--pink);
}

@media (hover: hover) {
  .btn--pink:hover {
    background: var(--pink-deep);
    border-color: var(--pink-deep);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(242, 92, 162, 0.3);

  }
}

.btn--gold {
  background: var(--gold);
  color: var(--white);
  border-color: var(--gold);
}

@media (hover: hover) {
  .btn--gold:hover {
    background: #C09A3A;
    border-color: #C09A3A;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 168, 67, 0.3);

  }
}

.btn--outline {
  background: transparent;
  color: var(--cream);
  border-color: var(--cream);
}

@media (hover: hover) {
  .btn--outline:hover {
    background: var(--cream);
    color: var(--green-deep);
    transform: translateY(-2px);

  }
}

.btn--outline-light {
  background: transparent;
  color: var(--cream);
  border-color: var(--cream);
}

@media (hover: hover) {
  .btn--outline-light:hover {
    background: var(--cream);
    color: var(--green-deep);
    transform: translateY(-2px);

  }
}

.btn--small {
  padding: 8px 22px;
  font-size: 0.95rem;
}

/* --- Navigation --- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  z-index: 1000;
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.nav--scrolled {
  background: var(--white);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
}

.nav__inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav__logo {
  display: flex;
  align-items: center;
  z-index: 1001;
}

.nav__logo-img {
  height: 120px;
  object-fit: contain;
  transition: opacity 0.3s ease;
}

.nav__logo-img--green {
  display: none;
}

.nav--scrolled .nav__logo-img--creme {
  display: none;
}

.nav--scrolled .nav__logo-img--green {
  display: block;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 36px;
  list-style: none;
}

.nav__links a {
  font-size: 1rem;
  font-weight: 500;
  color: var(--cream);
  transition: color 0.2s ease;
  letter-spacing: 0.02em;
}

.nav--scrolled .nav__links a {
  color: var(--black);
}

@media (hover: hover) {
  .nav__links a:hover {
    color: var(--pink);

  }
}

.nav--scrolled .btn--pink {
  color: var(--white);
}

/* Hamburger */
.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 1001;
}

.nav__toggle span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--cream);
  transition: all 0.3s ease;
  border-radius: 2px;
}

.nav--scrolled .nav__toggle span {
  background: var(--black);
}

.nav__toggle--open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav__toggle--open span:nth-child(2) {
  opacity: 0;
}

.nav__toggle--open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* --- Hero --- */
.hero {
  background: var(--green-deep);
  color: var(--cream);
  padding: clamp(120px, 15vw, 180px) 0 clamp(80px, 10vw, 120px);
  position: relative;
  overflow: hidden;
}

.hero__bg-pattern {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 10% 20%, rgba(255, 255, 255, 0.03) 0%, transparent 50%),
    radial-gradient(circle at 90% 80%, rgba(242, 92, 162, 0.05) 0%, transparent 50%);
  pointer-events: none;
}

.hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
}

.hero__title {
  font-size: clamp(2.4rem, 5.5vw, 3.8rem);
  line-height: 1.15;
  margin-bottom: 1rem;
  color: var(--cream);
}

.hero__subtitle {
  font-size: clamp(1.15rem, 2vw, 1.35rem);
  color: var(--cream-dark);
  margin-bottom: 2rem;
  font-style: italic;
}

.hero__cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero__image {
  position: relative;
  display: flex;
  justify-content: center;
}

.hero__image-frame {
  width: 340px;
  height: 400px;
  border-radius: 160px 160px var(--radius-lg) var(--radius-lg);
  overflow: hidden;
  border: 4px solid var(--pink);
  position: relative;
  z-index: 1;
}

.hero__image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.about__image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.hero__vine {
  position: absolute;
  width: 880px;
  height: auto;
  mix-blend-mode: screen;
  pointer-events: none;
  z-index: 0;
  clip-path: inset(0 0 90px 0);
  bottom: -250px;
  left: 80%;
  transform: translateX(-50%);
}

.hero__curve {
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  line-height: 0;
}

.hero__curve svg {
  width: 100%;
  height: 80px;
}

/* --- Services --- */
.services {
  padding: clamp(80px, 10vw, 120px) 0;
  background: var(--cream);
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px 36px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid var(--cream-dark);
}

@media (hover: hover) {
  .service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(26, 92, 58, 0.08);

  }
}

.service-card__icon {
  width: 48px;
  height: 48px;
  margin-bottom: 20px;
  color: var(--green-deep);
}

.service-card__title {
  font-size: 1.5rem;
  color: var(--green-deep);
  margin-bottom: 12px;
}

.service-card__text {
  color: var(--gray);
  font-size: 1.05rem;
  line-height: 1.7;
}

.service-card__text a,
.about__content p a {
  color: var(--green-deep);
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 700;
}

@media (hover: hover) {
  .service-card__text a:hover,
  .about__content p a:hover {
    color: var(--green-light);

  }
}

/* --- Portfolio --- */
.portfolio {
  padding: clamp(80px, 10vw, 120px) 0 56px;
  background: var(--cream);
}

.portfolio__carousel {
  position: relative;
}

.portfolio__grid {
  display: flex;
  gap: 28px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding: 0 8px;
  -webkit-overflow-scrolling: touch;
  padding: 8px 4px 24px;
  scrollbar-width: none;
}

.portfolio__grid::-webkit-scrollbar {
  display: none;
}

.portfolio-card {
  flex: 0 0 360px;
  scroll-snap-align: start;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  border: 2px solid var(--gold-soft);
  display: flex;
  flex-direction: column;
}

.portfolio__nav {
  position: absolute;
  top: calc(50% - 12px);
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--white);
  border: 1px solid var(--cream-dark);
  color: var(--green-deep);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 5;
  box-shadow: 0 4px 14px rgba(26, 92, 58, 0.15);
  transition: background 0.2s ease, color 0.2s ease, opacity 0.2s ease;
}

.portfolio__nav svg {
  width: 22px;
  height: 22px;
}

.portfolio__nav--prev {
  left: -20px;
}

.portfolio__nav--next {
  right: -20px;
}

@media (hover: hover) {
  .portfolio__nav:hover {
    background: var(--green-deep);
    color: var(--cream);

  }
}

.portfolio-card__head {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 22px;
}

.portfolio-card__icon {
  width: 76px;
  height: 76px;
  border-radius: 22%;
  flex-shrink: 0;
  box-shadow: 0 4px 14px rgba(26, 92, 58, 0.15);
  object-fit: cover;
  background: var(--cream);
}

.portfolio-card__icon--contain {
  object-fit: contain;
  background: var(--white);
  padding: 6px;
  border: 1px solid var(--cream-dark);
}

.portfolio-card__heading {
  flex: 1;
  min-width: 0;
}

.portfolio-card__title {
  font-size: 1.4rem;
  color: var(--green-deep);
  line-height: 1.2;
}

.portfolio-card__title-link {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

/* Inline SVG icon (in the markup) so it never falls back to an emoji glyph.
   iOS Safari renders Unicode U+2197 as a color emoji, even with a VS-15
   selector — using an SVG sidesteps that entirely and inherits the gold
   color from this rule via currentColor on the stroke. */
.portfolio-card__title-arrow {
  display: inline-block;
  width: 0.7em;
  height: 0.7em;
  margin-left: 0.25em;
  vertical-align: 0.05em;
  color: var(--gold);
  flex-shrink: 0;
}

@media (hover: hover) {
  .portfolio-card__title-link:hover {
    color: var(--pink-deep);
    text-decoration: underline;
    text-underline-offset: 4px;
    text-decoration-thickness: 2px;

  }
}

.portfolio-card__desc {
  font-size: 0.95rem;
  color: var(--gray);
  line-height: 1.55;
  margin-bottom: 22px;
}

.portfolio-card__meta {
  display: grid;
  grid-template-columns: max-content 1fr;
  column-gap: 18px;
  row-gap: 8px;
  margin-bottom: 26px;
}

.portfolio-card__meta dt {
  font-weight: 700;
  color: var(--green-deep);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.72rem;
  align-self: center;
}

.portfolio-card__meta dd {
  color: var(--gray);
  font-size: 0.98rem;
  line-height: 1.5;
}

.portfolio-card__highlight {
  color: var(--pink-deep) !important;
  font-weight: 700;
}

.portfolio-card__links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: auto;
}

.portfolio-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 18px;
  border-radius: 50px;
  font-size: 0.92rem;
  font-weight: 700;
  border: 2px solid var(--green-deep);
  color: var(--green-deep);
  background: transparent;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}

@media (hover: hover) {
  .portfolio-link:hover {
    background: var(--green-deep);
    color: var(--cream);
    transform: translateY(-1px);

  }
}

.portfolio-link svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.portfolio-link--feature {
  border-color: var(--gold);
  color: var(--gold);
}

@media (hover: hover) {
  .portfolio-link--feature:hover {
    background: var(--gold);
    color: var(--white);

  }
}

/* --- Values Banner --- */
.values-banner {
  background: var(--gold-bg);
  padding: clamp(60px, 8vw, 80px) 0;
}

.values-banner__inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}

.values-banner__item h3 {
  font-size: 1.4rem;
  color: var(--green-deep);
  margin-bottom: 8px;
}

.values-banner__item p {
  font-size: 1rem;
  font-weight: 700;
  color: #2A2825;
  line-height: 1.6;
}

.values-banner__img {
  width: 120px;
  height: auto;
  margin: 0 auto 16px;
}

/* --- Testimonials --- */
.testimonials {
  padding: 56px 0 clamp(40px, 10vw, 120px);
  background: var(--cream);
}

.section-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  margin: 0 auto 56px;
  max-width: 380px;
}

.section-divider__line {
  flex: 1;
  height: 1px;
  background: var(--gold);
  opacity: 0.5;
}

.section-divider__sprig {
  width: 64px;
  height: 32px;
  color: var(--pink);
  flex-shrink: 0;
}

.testimonials__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  align-items: start;
}

.testimonials__col {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px 32px 28px;
  border: 1px solid var(--cream-dark);
  position: relative;
}

.testimonial-card--long .testimonial-card__body {
  max-height: 13em;
  overflow: hidden;
  position: relative;
  transition: max-height 0.5s ease;
}

.testimonial-card--long .testimonial-card__body--expanded {
  max-height: 200em;
}

.testimonial-card--long .testimonial-card__body:not(.testimonial-card__body--expanded)::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3em;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0), var(--white));
  pointer-events: none;
}

.testimonial-card__toggle {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--green-deep);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 700;
  padding: 14px 0 0;
  text-decoration: underline;
  text-underline-offset: 3px;
  align-self: flex-start;
  transition: color 0.2s ease;
}

@media (hover: hover) {
  .testimonial-card__toggle:hover {
    color: var(--pink);

  }
}

.testimonial-card::before {
  content: "\201C";
  font-family: var(--font-display);
  font-size: 4.5rem;
  color: var(--pink);
  line-height: 0.6;
  display: block;
  margin-bottom: 12px;
  opacity: 0.85;
}

.testimonial-card__body p {
  font-size: 1.02rem;
  color: var(--gray);
  line-height: 1.7;
  font-style: italic;
  margin-bottom: 1em;
}

.testimonial-card__body p:last-child {
  margin-bottom: 0;
}

.testimonial-card__author {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--cream-dark);
}

.testimonial-card__name {
  font-style: normal;
  font-weight: 700;
  font-size: 1rem;
  display: block;
  color: var(--black);
}

.testimonial-card__role {
  font-size: 0.9rem;
  color: var(--gray-light);
  display: block;
  margin-top: 2px;
}

.testimonial-card__role a {
  color: var(--green-deep);
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 700;
  transition: color 0.2s ease;
}

@media (hover: hover) {
  .testimonial-card__role a:hover {
    color: var(--pink);

  }
}

/* --- About --- */
.about {
  padding: clamp(80px, 10vw, 120px) 0;
  background: var(--white);
}

.about__inner {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 60px;
  align-items: center;
}

.about__image-frame {
  width: 100%;
  max-width: 380px;
  aspect-ratio: 3 / 4;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 4px solid var(--pink);
  margin: 0 auto;
}

.about__content p {
  margin-bottom: 1rem;
  color: var(--gray);
  font-size: 1.1rem;
}

.about__content .section-title {
  margin-bottom: 1rem;
}

.about__location {
  font-style: italic;
  color: var(--gray-light) !important;
  font-size: 0.95rem !important;
  margin-top: 0.5rem;
}

.about__linkedin {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--green-deep);
  color: var(--white);
  margin-top: 0.5rem;
  transition: background 0.3s ease, transform 0.3s ease;
}

@media (hover: hover) {
  .about__linkedin:hover {
    background: var(--pink);
    transform: translateY(-2px);

  }
}

.about__linkedin svg {
  width: 20px;
  height: 20px;
}

/* --- Contact --- */
.contact {
  padding: clamp(80px, 10vw, 120px) 0;
  background: var(--green-deep);
  color: var(--cream);
  position: relative;
  overflow: hidden;
}

.contact__bg-pattern {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 80% 20%, rgba(242, 92, 162, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 20% 80%, rgba(212, 168, 67, 0.06) 0%, transparent 50%);
  pointer-events: none;
}

.contact__flowers {
  position: absolute;
  bottom: -45%;
  left: 48%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 1300px;
  height: auto;
  mix-blend-mode: screen;
  opacity: 0.7;
  pointer-events: none;
  z-index: 0;
}

.contact__inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 48px;
  align-items: start;
  position: relative;
}

/* Honeypot */
.form-hp {
  position: absolute;
  left: -9999px;
  top: -9999px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.contact-form__field label {
  display: block;
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--cream);
}

.contact-form__field .optional {
  font-weight: 400;
  font-style: italic;
  color: var(--gray-light);
}

.contact-form__field input,
.contact-form__field textarea {
  width: 100%;
  padding: 14px 18px;
  border: 2px solid rgba(247, 242, 232, 0.2);
  border-radius: var(--radius);
  background: rgba(247, 242, 232, 0.08);
  color: var(--cream);
  font-family: var(--font-body);
  font-size: 1.05rem;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.contact-form__field input::placeholder,
.contact-form__field textarea::placeholder {
  color: rgba(247, 242, 232, 0.4);
}

.contact-form__field input:focus,
.contact-form__field textarea:focus {
  outline: none;
  border-color: var(--pink);
  background: rgba(247, 242, 232, 0.12);
}

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

.contact-form__actions {
  margin-top: 4px;
}

.contact-form__status {
  font-size: 0.95rem;
  min-height: 1.5em;
}

.contact-form__status--success {
  color: var(--gold-soft);
}

.contact-form__status--error {
  color: var(--pink-soft);
}

.contact__sidebar {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.contact__cta-card {
  background: rgba(247, 242, 232, 0.08);
  border: 1px solid rgba(247, 242, 232, 0.15);
  border-radius: var(--radius-lg);
  padding: 32px;
}

.contact__cta-card h3 {
  font-size: 1.4rem;
  margin-bottom: 12px;
  color: var(--cream);
}

.contact__cta-card p {
  font-size: 1rem;
  color: var(--cream-dark);
  margin-bottom: 20px;
  line-height: 1.6;
}

.contact__info {
  padding: 0 8px;
}

.contact__info p {
  font-size: 0.95rem;
  margin-bottom: 8px;
  color: var(--cream-dark);
}

.contact__info a {
  color: var(--pink-soft);
  transition: color 0.2s ease;
}

@media (hover: hover) {
  .contact__info a:hover {
    color: var(--pink);

  }
}

/* --- Footer --- */
.footer {
  background: var(--cream);
  padding: 48px 0 32px;
  border-top: 1px solid var(--cream-dark);
}

.footer__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
}

.footer__logo img {
  height: 84px;
}

.footer__tagline {
  font-style: italic;
  color: var(--gray);
  font-size: 1rem;
}

.footer__nav {
  display: flex;
  gap: 28px;
}

.footer__nav a {
  font-size: 0.9rem;
  color: var(--gray);
  transition: color 0.2s ease;
}

@media (hover: hover) {
  .footer__nav a:hover {
    color: var(--green-deep);

  }
}

.footer__copy {
  font-size: 0.8rem;
  color: var(--gray-light);
  margin-top: 8px;
}

/* --- Reveal Animations --- */
[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-reveal].revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger children */
.services__grid [data-reveal]:nth-child(2),
.values-banner__inner [data-reveal]:nth-child(2),
.testimonials__grid [data-reveal]:nth-child(2),
.portfolio__grid [data-reveal]:nth-child(2) {
  transition-delay: 0.1s;
}

.services__grid [data-reveal]:nth-child(3),
.values-banner__inner [data-reveal]:nth-child(3),
.testimonials__grid [data-reveal]:nth-child(3),
.portfolio__grid [data-reveal]:nth-child(3) {
  transition-delay: 0.2s;
}

.services__grid [data-reveal]:nth-child(4),
.values-banner__inner [data-reveal]:nth-child(4),
.portfolio__grid [data-reveal]:nth-child(4) {
  transition-delay: 0.3s;
}

/* --- Press feedback for primary touch targets ---
   `:active` fires during a tap/click-hold on every device and clears on
   release, so it gives touch users visual press feedback in place of the
   hover styles (which are now gated behind `@media (hover: hover)` so they
   no longer stick on touch). `transition: none` here means the green/color
   shift is INSTANT on press (a typical quick tap was too short for the
   base 0.2-0.3s transition to even register a flash), while release falls
   back to the base transition for a smooth fade-back. Lift/shadow are
   intentionally omitted — a "lift" doesn't read as a press. */
.btn--pink:active {
  background: var(--pink-deep);
  border-color: var(--pink-deep);
  transition: none;
}

.btn--gold:active {
  background: #C09A3A;
  border-color: #C09A3A;
  transition: none;
}

.btn--outline:active,
.btn--outline-light:active {
  background: var(--cream);
  color: var(--green-deep);
  transition: none;
}

.portfolio__nav:active {
  background: var(--green-deep);
  color: var(--cream);
  transition: none;
}

.portfolio-card__title-link:active {
  color: var(--pink-deep);
  transition: none;
}

.testimonial-card__toggle:active {
  color: var(--pink);
  transition: none;
}

.about__linkedin:active {
  background: var(--pink);
  transition: none;
}

/* --- Responsive --- */
@media (max-width: 1024px) {
  .hero__inner {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }

  .hero__vine {
    left: 50%;
    transform: translateX(-50%);
    bottom: -225px;
  }

  .hero__cta {
    justify-content: center;
  }

  .hero__image-frame {
    width: 250px;
    height: 320px;
  }

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

  .portfolio-card {
    flex: 0 0 320px;
  }

  .testimonials__grid {
    grid-template-columns: 1fr;
    max-width: 640px;
    margin: 0 auto;
  }

  .testimonial-card--wide .testimonial-card__body {
    column-count: 1;
  }

  .about__inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .about__image-frame {
    max-width: 300px;
  }

  .about__linkedin {
    margin: 0.5rem auto 0;
  }

  .contact__inner {
    grid-template-columns: 1fr;
  }

  .contact__flowers {
    bottom: -35%;
  }
}

@media (max-width: 768px) {
  :root {
    --nav-height: 64px;
  }

  body {
    font-size: 1.05rem;
  }

  /* Mobile nav */
  .nav__toggle {
    display: flex;
  }

  .nav__links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--green-deep);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 32px;
    transition: right 0.35s ease;
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.2);
  }

  .nav__links--open {
    right: 0;
  }

  .nav__links a {
    color: var(--cream) !important;
    font-size: 1.15rem;
  }

  .services__grid {
    grid-template-columns: 1fr;
  }

  .portfolio-card {
    flex: 0 0 85vw;
    max-width: 320px;
    padding: 28px 24px;
  }

  .portfolio-card__icon {
    width: 64px;
    height: 64px;
  }

  .portfolio-card__title {
    font-size: 1.25rem;
  }

  /* Smaller, tighter carousel arrows on phone.
     Solid deep-green circle (instead of the white desktop default) because
     mobile cards are 85vw and the buttons sit overlapping the white card —
     white-on-white was making them effectively invisible. */
  .portfolio__nav {
    width: 40px;
    height: 40px;
    background: var(--green-deep);
    color: var(--cream);
    border-color: var(--green-deep);
  }

  .portfolio__nav svg {
    width: 18px;
    height: 18px;
  }

  .portfolio__nav--prev {
    left: -6px;
  }

  .portfolio__nav--next {
    right: -6px;
  }

  /* Mobile-specific press feedback (inverts the default so the change
     reads clearly: green→cream on press). Source order beats the global
     `.portfolio__nav:active` rule when both apply at this breakpoint. */
  .portfolio__nav:active {
    background: var(--cream);
    color: var(--green-deep);
    border-color: var(--cream);
  }


  .values-banner__inner {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .contact-form__row {
    grid-template-columns: 1fr;
  }

  .contact__flowers {
    bottom: -20%;
  }

  .hero__image-frame {
    width: 220px;
    height: 280px;
  }

  .hero__vine {
    bottom: -150px;
  }
}

@media (max-width: 480px) {
  .values-banner__inner {
    grid-template-columns: 1fr;
  }

  .hero__title {
    font-size: 2rem;
  }

  .footer__nav {
    flex-wrap: wrap;
    justify-content: center;
  }
}