/* =========================================================================
   Irish Wine Estates — Our Story (About Us) page

   Layout from IWE Website details/about_estate.png; content from the Sept 2026
   brief, section 10 (Our Story). Shared pieces - hero, labels, buttons, framed
   photos and the Preview Tours band - come from inner.css. Rules here are
   scoped under body.iwe-about and load after inner.css.

   Sections, top to bottom:
     Hero (shared)  .iwe-s-intro  .iwe-s-why  .iwe-s-journey  .iwe-s-people
     .iwe-s-statement  .iwe-s-farm  .iwe-s-future  .iwe-s-visit  CTA (shared)
   ========================================================================= */

body.iwe-about {
  --iwe-plum: #3a2432;
}

/* The brief's H1 is a full sentence, so it sets smaller than CONTACT US. */
body.iwe-about .iwe-c-hero h1 {
  max-width: 15ch;
  font-size: clamp(36px, 3.8vw, 56px);
  line-height: 1.25;
}

/* Keeps the "s" in "1960s" lowercase inside uppercase headings. */
body.iwe-about .iwe-lc {
  text-transform: none;
}

body.iwe-about .iwe-c p.iwe-s-lede {
  max-width: 34ch;
  margin: 0 0 20px;
  font-family: var(--iwe-font-display);
  font-size: clamp(19px, 1.6vw, 25px);
  line-height: 1.4;
  color: var(--iwe-midnight);
}

body.iwe-about .iwe-s-rule {
  display: block;
  width: 64px;
  height: 2px;
  margin: 4px 0 26px;
  background: var(--iwe-champagne);
}

body.iwe-about .iwe-s-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 6px;
  border-bottom: 1px solid currentColor;
  font-family: var(--iwe-font-body);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--iwe-deep-teal);
}

body.iwe-about .iwe-s-link .iwe-c-arrow {
  width: 18px;
  height: 18px;
  transition: transform .4s var(--iwe-ease);
}

body.iwe-about .iwe-s-link:hover .iwe-c-arrow {
  transform: translateX(4px);
}

/* Full-bleed photographs inside a grid cell: the <img> is absolutely placed in
   a positioned wrapper, so no aspect-ratio ever sits on the <img> itself. */
body.iwe-about .iwe-s-fill {
  position: relative;
  margin: 0;
  overflow: hidden;
}

body.iwe-about .iwe-s-fill img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}


/* -------------------------------------------------------------------------
   1. Intro - A story still being written
   ------------------------------------------------------------------------- */

body.iwe-about .iwe-s-intro {
  position: relative;
  overflow: hidden;
  padding-block: clamp(56px, 6vw, 104px) clamp(28px, 3vw, 52px);
}

body.iwe-about .iwe-s-intro .iwe-c__wrap {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
  gap: clamp(32px, 5vw, 90px);
  align-items: center;
}

body.iwe-about .iwe-s-intro__text p:not(.iwe-c-label):not(.iwe-s-lede) {
  max-width: 48ch;
}

body.iwe-about .iwe-s-intro .iwe-c-frame__img {
  aspect-ratio: 16 / 10.5;
}


/* -------------------------------------------------------------------------
   2. Why a vineyard?
   ------------------------------------------------------------------------- */

body.iwe-about .iwe-s-why {
  position: relative;
  overflow: hidden;
  padding-block: clamp(28px, 3vw, 52px) clamp(64px, 6.5vw, 112px);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='720' height='420' viewBox='0 0 720 420' fill='none' stroke='%23c9a27a' stroke-opacity='.26' stroke-width='1'%3E%3Cpath d='M-20 40c90-34 170 34 260 2s170-44 260-12 220 22 220 22'/%3E%3Cpath d='M-20 80c96-38 176 38 266 6s164-48 254-16 220 26 220 26'/%3E%3Cpath d='M-20 120c102-42 182 42 272 10s158-52 248-20 220 30 220 30'/%3E%3Cpath d='M-20 160c108-46 188 46 278 14s152-56 242-24 220 34 220 34'/%3E%3Cpath d='M-20 200c114-50 194 50 284 18s146-60 236-28 220 38 220 38'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right bottom;
  background-size: min(720px, 60%) auto;
}

body.iwe-about .iwe-s-why .iwe-c__wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 90px);
  align-items: center;
}

body.iwe-about .iwe-s-why__cols {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(20px, 2.4vw, 40px);
}

body.iwe-about .iwe-c .iwe-s-why__cols p {
  font-size: clamp(14px, .98vw, 16px);
}

body.iwe-about .iwe-s-why__media {
  position: relative;
  margin: 0;
  padding-top: clamp(44px, 4.4vw, 70px);
}

body.iwe-about .iwe-s-why__img {
  display: block;
  overflow: hidden;
  aspect-ratio: 4 / 3;
}

body.iwe-about .iwe-s-why__img img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

body.iwe-about .iwe-s-badge {
  position: absolute;
  top: 0;
  right: 0;
  width: min(280px, 62%);
  padding: 24px 26px;
  background: var(--iwe-deep-teal);
  box-shadow: 0 22px 44px rgba(16, 24, 44, .28);
}

body.iwe-about .iwe-c .iwe-s-badge h3 {
  margin: 0 0 12px;
  font-size: clamp(18px, 1.5vw, 22px);
  font-weight: 600;
  line-height: 1.15;
  text-transform: uppercase;
  color: var(--iwe-ivory);
}

body.iwe-about .iwe-c .iwe-s-badge h3::after {
  content: "";
  display: block;
  width: 38px;
  height: 1px;
  margin-top: 12px;
  background: var(--iwe-champagne);
}

body.iwe-about .iwe-c .iwe-s-badge p {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  color: rgba(247, 240, 227, .86);
}


/* -------------------------------------------------------------------------
   3. The journey - pilot vineyard, Ballyclery, varieties
   ------------------------------------------------------------------------- */

body.iwe-about .iwe-s-journey {
  position: relative;
  overflow: hidden;
  padding-block: clamp(56px, 5.6vw, 100px);
  background: #f3ecdf;
  border-block: 8px solid var(--iwe-deep-teal);
}

body.iwe-about .iwe-s-journey .iwe-c__wrap {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 56px);
  align-items: start;
}

/* Staggered, climbing left to right as in the design. */
body.iwe-about .iwe-s-step:nth-child(2) {
  margin-top: clamp(22px, 2.4vw, 44px);
}

body.iwe-about .iwe-s-step:nth-child(3) {
  margin-top: clamp(44px, 4.8vw, 88px);
}

body.iwe-about .iwe-c p.iwe-s-step__num {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 6px;
  font-family: var(--iwe-font-display);
  font-size: clamp(22px, 1.9vw, 30px);
  font-weight: 500;
  line-height: 1;
  color: var(--iwe-deep-teal);
}

/* The connecting line that runs on towards the next step. */
body.iwe-about .iwe-c p.iwe-s-step__num::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, rgba(199, 101, 50, .7), rgba(199, 101, 50, 0));
}

body.iwe-about .iwe-c .iwe-s-step h3 {
  margin: 0 0 10px;
  font-size: clamp(30px, 3vw, 50px);
  font-weight: 700;
  line-height: .95;
  text-transform: uppercase;
  color: var(--iwe-midnight);
}

body.iwe-about .iwe-c .iwe-s-step p:not(.iwe-s-step__num) {
  max-width: 32ch;
  min-height: 3.3em;
  margin: 0 0 26px;
  font-size: 15px;
  line-height: 1.55;
}

body.iwe-about .iwe-s-step__img {
  display: block;
  overflow: hidden;
  margin: 0 0 14px 14px;
  aspect-ratio: 4 / 3;
  box-shadow: -14px 14px 0 var(--iwe-deep-teal);
}

body.iwe-about .iwe-s-step__img img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}


/* -------------------------------------------------------------------------
   4. Meet Stephen & Nicola
   ------------------------------------------------------------------------- */

body.iwe-about .iwe-s-people {
  position: relative;
  overflow: hidden;
  background: var(--iwe-mineral-grey);
}

body.iwe-about .iwe-s-people__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  min-height: clamp(400px, 34vw, 580px);
}

body.iwe-about .iwe-s-people__media img {
  object-position: center 30%;
}

body.iwe-about .iwe-s-people__text {
  align-self: center;
  max-width: 680px;
  padding: clamp(44px, 5vw, 90px) var(--iwe-gutter) clamp(44px, 5vw, 90px) clamp(32px, 5vw, 90px);
}

body.iwe-about .iwe-s-people__text p:not(.iwe-c-label) {
  max-width: 54ch;
}

body.iwe-about .iwe-s-duo {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 30px;
  margin: 24px 0 30px;
  padding: 0;
  list-style: none;
}

body.iwe-about .iwe-s-duo li {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

body.iwe-about .iwe-s-duo__photo {
  display: block;
  flex: none;
  width: 66px;
  height: 66px;
  overflow: hidden;
  border: 2px solid var(--iwe-ivory);
  border-radius: 50%;
  box-shadow: 0 6px 16px rgba(16, 24, 44, .18);
}

body.iwe-about .iwe-s-duo__photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
}

body.iwe-about .iwe-s-duo__name {
  display: block;
  font-family: var(--iwe-font-display);
  font-size: 20px;
  line-height: 1.1;
  color: var(--iwe-midnight);
}

body.iwe-about .iwe-s-duo__role {
  display: block;
  margin-top: 4px;
  font-family: var(--iwe-font-body);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--iwe-deep-teal);
}


/* -------------------------------------------------------------------------
   5. Statement
   ------------------------------------------------------------------------- */

body.iwe-about .iwe-s-statement {
  position: relative;
  padding-block: clamp(36px, 3.8vw, 64px);
  background: #eaefea;
  border-top: 1px solid rgba(23, 33, 38, .06);
}

body.iwe-about .iwe-s-statement .iwe-c__wrap {
  display: flex;
  align-items: center;
  gap: clamp(20px, 3vw, 48px);
}

body.iwe-about .iwe-s-statement__mark {
  flex: none;
  width: clamp(48px, 4.4vw, 72px);
  height: auto;
  color: var(--iwe-deep-teal);
}

body.iwe-about .iwe-c.iwe-s-statement p {
  max-width: 44ch;
  margin: 0;
  font-family: var(--iwe-font-display);
  font-size: clamp(22px, 2.4vw, 38px);
  line-height: 1.25;
  color: var(--iwe-deep-teal);
}


/* -------------------------------------------------------------------------
   6. From a 1960s farm to a vineyard for the 2020s
   ------------------------------------------------------------------------- */

body.iwe-about .iwe-s-farm {
  position: relative;
  overflow: hidden;
  background: var(--iwe-plum);
}

body.iwe-about .iwe-s-farm__grid {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
}

body.iwe-about .iwe-s-farm__media {
  min-height: 460px;
}

body.iwe-about .iwe-s-farm__media img {
  object-position: center 45%;
}

body.iwe-about .iwe-s-farm__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(58, 36, 50, 0) 62%, rgba(58, 36, 50, .85) 100%);
}

body.iwe-about .iwe-s-farm__text {
  position: relative;
  padding: clamp(48px, 5vw, 90px) calc(var(--iwe-gutter) + 36px) clamp(48px, 5vw, 90px) clamp(28px, 4vw, 72px);
}

body.iwe-about .iwe-c.iwe-s-farm p {
  color: rgba(247, 240, 227, .86);
}

body.iwe-about .iwe-c.iwe-s-farm p.iwe-c-label {
  color: var(--iwe-champagne);
}

body.iwe-about .iwe-c.iwe-s-farm h2 {
  margin: 0 0 18px;
  font-size: clamp(30px, 3.2vw, 52px);
  font-weight: 600;
  line-height: 1;
  text-transform: uppercase;
  color: var(--iwe-ivory);
}

body.iwe-about .iwe-c.iwe-s-farm h2 em {
  display: block;
  margin-top: 8px;
  font-size: .86em;
  font-style: italic;
  font-weight: 500;
  text-transform: none;
  color: var(--iwe-champagne);
}

body.iwe-about .iwe-s-heritage {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 30px;
  margin: 28px 0 34px;
  padding: 22px 0 0;
  list-style: none;
  border-top: 1px solid rgba(217, 182, 111, .3);
}

body.iwe-about .iwe-s-heritage li {
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  margin: 0;
  padding: 0;
  list-style: none;
}

body.iwe-about .iwe-s-heritage__thumb {
  display: block;
  width: 74px;
  height: 74px;
  padding: 3px;
  border: 1px solid rgba(217, 182, 111, .7);
}

body.iwe-about .iwe-s-heritage__thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

body.iwe-about .iwe-c.iwe-s-farm .iwe-s-heritage h3 {
  margin: 0 0 4px;
  font-family: var(--iwe-font-body);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--iwe-champagne);
}

body.iwe-about .iwe-c.iwe-s-farm .iwe-s-heritage p {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
}

body.iwe-about .iwe-c-btn--outline-gold {
  border: 1px solid var(--iwe-champagne);
  color: var(--iwe-champagne);
  background: transparent;
}

body.iwe-about .iwe-c-btn--outline-gold:hover {
  background: var(--iwe-champagne);
  color: var(--iwe-plum);
}

body.iwe-about .iwe-s-farm__tag {
  position: absolute;
  right: clamp(12px, 1.6vw, 28px);
  bottom: clamp(40px, 4vw, 70px);
  margin: 0;
  writing-mode: vertical-rl;
  font-family: var(--iwe-font-body);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: rgba(217, 182, 111, .75);
}


/* -------------------------------------------------------------------------
   7. Where we are going
   ------------------------------------------------------------------------- */

body.iwe-about .iwe-s-future {
  position: relative;
  overflow: hidden;
  background: var(--iwe-ivory);
}

body.iwe-about .iwe-s-future__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  min-height: clamp(400px, 32vw, 540px);
}

body.iwe-about .iwe-s-future__text {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(20px, 3vw, 52px);
  align-content: center;
  padding: clamp(48px, 5vw, 90px) clamp(24px, 3vw, 56px) clamp(44px, 4.4vw, 76px) max(var(--iwe-gutter), calc((100vw - var(--iwe-content-width)) / 2));
}

body.iwe-about .iwe-c p.iwe-s-future__big {
  margin: 0 0 8px;
  font-family: var(--iwe-font-display);
  font-size: clamp(76px, 9vw, 150px);
  font-weight: 700;
  line-height: .8;
  letter-spacing: -.02em;
  color: var(--iwe-deep-teal);
}

body.iwe-about .iwe-c .iwe-s-future .iwe-c-h2 {
  font-size: clamp(26px, 2.5vw, 42px);
}

body.iwe-about .iwe-s-future__body {
  align-self: end;
}

body.iwe-about .iwe-s-steps {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 0;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
  font-family: var(--iwe-font-body);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--iwe-deep-teal);
}

body.iwe-about .iwe-s-steps li {
  margin: 0;
  padding: 0;
  list-style: none;
}

body.iwe-about .iwe-s-steps li + li::before {
  content: "\2014";
  margin: 0 18px;
  color: rgba(199, 101, 50, .55);
}

body.iwe-about .iwe-s-future__media {
  clip-path: polygon(24% 0, 100% 0, 100% 100%, 0 100%);
}


/* -------------------------------------------------------------------------
   8. See it for yourself
   ------------------------------------------------------------------------- */

body.iwe-about .iwe-s-visit {
  position: relative;
  overflow: hidden;
  background: var(--iwe-deep-teal);
}

body.iwe-about .iwe-s-visit__media {
  position: absolute;
  inset: 0;
}

body.iwe-about .iwe-s-visit__media img {
  object-position: center 60%;
}

body.iwe-about .iwe-s-visit .iwe-c__wrap {
  display: flex;
  align-items: center;
  min-height: clamp(360px, 30vw, 500px);
  padding-block: clamp(40px, 4vw, 72px);
}

body.iwe-about .iwe-s-visit__card {
  max-width: 420px;
  padding: clamp(28px, 2.8vw, 44px);
  background: rgba(247, 240, 227, .96);
  box-shadow: 0 24px 50px rgba(16, 24, 44, .25);
}

body.iwe-about .iwe-c .iwe-s-visit__card .iwe-c-h2 {
  font-size: clamp(30px, 2.8vw, 46px);
}

body.iwe-about .iwe-s-visit__card .iwe-c-btn {
  margin-top: 8px;
}

body.iwe-about .iwe-s-pin {
  position: absolute;
  z-index: 1;
  top: var(--y);
  left: var(--x);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  transform: translateX(-50%);
  font-family: var(--iwe-font-body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .26em;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--iwe-ivory);
  text-shadow: 0 1px 8px rgba(16, 24, 44, .7);
  pointer-events: none;
}

body.iwe-about .iwe-s-pin::after {
  content: "";
  width: 1px;
  height: clamp(40px, 5vw, 80px);
  background: linear-gradient(180deg, rgba(247, 240, 227, .9), rgba(247, 240, 227, .2));
}


/* -------------------------------------------------------------------------
   Responsive
   ------------------------------------------------------------------------- */

@media (max-width: 1180px) {
  body.iwe-about .iwe-s-farm__tag {
    display: none;
  }

  body.iwe-about .iwe-s-farm__text {
    padding-right: var(--iwe-gutter);
  }
}

@media (max-width: 980px) {
  body.iwe-about .iwe-s-intro .iwe-c__wrap,
  body.iwe-about .iwe-s-why .iwe-c__wrap,
  body.iwe-about .iwe-s-people__grid,
  body.iwe-about .iwe-s-farm__grid,
  body.iwe-about .iwe-s-future__grid {
    grid-template-columns: 1fr;
  }

  body.iwe-about .iwe-s-journey .iwe-c__wrap {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  body.iwe-about .iwe-s-step:nth-child(2),
  body.iwe-about .iwe-s-step:nth-child(3) {
    margin-top: 0;
  }

  body.iwe-about .iwe-c .iwe-s-step p:not(.iwe-s-step__num) {
    min-height: 0;
  }

  body.iwe-about .iwe-s-people__media {
    min-height: clamp(280px, 60vw, 460px);
  }

  body.iwe-about .iwe-s-people__text {
    max-width: none;
    padding-inline: var(--iwe-gutter);
  }

  body.iwe-about .iwe-s-farm__media {
    min-height: clamp(300px, 70vw, 520px);
  }

  body.iwe-about .iwe-s-farm__media::after {
    background: linear-gradient(180deg, rgba(58, 36, 50, 0) 65%, rgba(58, 36, 50, .85) 100%);
  }

  body.iwe-about .iwe-s-farm__text {
    padding-inline: var(--iwe-gutter);
  }

  body.iwe-about .iwe-s-future__text {
    padding-inline: var(--iwe-gutter);
  }

  body.iwe-about .iwe-s-future__media {
    min-height: clamp(260px, 56vw, 420px);
    clip-path: polygon(0 12%, 100% 0, 100% 100%, 0 100%);
  }

  body.iwe-about .iwe-s-pin {
    display: none;
  }
}

@media (max-width: 767px) {
  body.iwe-about .iwe-s-why__cols,
  body.iwe-about .iwe-s-heritage,
  body.iwe-about .iwe-s-future__text {
    grid-template-columns: 1fr;
  }

  body.iwe-about .iwe-s-why__media {
    padding-top: 0;
  }

  body.iwe-about .iwe-s-badge {
    position: relative;
    width: auto;
    margin: -28px 16px 0;
  }

  body.iwe-about .iwe-s-statement .iwe-c__wrap {
    align-items: flex-start;
  }

  /* Separators would start a wrapped line with a dash, so phones use spacing. */
  body.iwe-about .iwe-s-steps {
    gap: 10px 22px;
    font-size: 11px;
    letter-spacing: .18em;
  }

  body.iwe-about .iwe-s-steps li + li::before {
    content: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.iwe-about .iwe-s-link .iwe-c-arrow {
    transition: none;
  }
}
