@font-face {
  font-family: Barlow;
  src: url("./assets/barlow-regular.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: Barlow;
  src: url("./assets/barlow-semibold.woff2") format("woff2");
  font-weight: 600;
  font-display: swap;
}

:root {
  --navy: #112335;
  --ink: #152637;
  --muted: #425563;
  --gold: #e3bd76;
  --white: #fffdf8;
  --line: #d5cdbf;
  --gutter: clamp(1.25rem, 4.15vw, 4.75rem);
  color: var(--ink);
  background: var(--white);
  font: 400 100%/1.5 Barlow, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
body, h1, h2, h3, p { margin: 0; }
[hidden] { display: none !important; }
a { color: inherit; text-underline-offset: .25em; }
button { font: inherit; }
button, a { touch-action: manipulation; }
a:focus-visible, button:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }
::selection { background: var(--gold); color: var(--navy); }
.wrap { width: min(calc(100% - 2 * var(--gutter)), 90rem); margin-inline: auto; }
.skip { position: fixed; z-index: 4; inset: .75rem auto auto 1rem; transform: translateY(-200%); padding: .75rem 1rem; background: var(--white); }
.skip:focus { transform: none; }
#main:focus { outline: none; }

.site-header { background: var(--white); }
.header-inner { min-height: 4.5rem; display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: clamp(1rem, 3vw, 3.5rem); align-items: center; }
.wordmark { position: relative; display: block; width: clamp(9rem, 16vw, 12rem); max-width: 100%; min-height: 44px; aspect-ratio: 4.55; overflow: hidden; mix-blend-mode: multiply; }
.wordmark img { position: absolute; inset: 50% auto auto 50%; width: 100%; height: 100%; object-fit: cover; transform: translate(-50%, -50%) scale(1.21); }
.main-nav, .language { display: flex; align-items: center; }
.main-nav { gap: clamp(.7rem, 2.4vw, 2.5rem); }
.main-nav a, .language a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; font-weight: 600; }
.main-nav a:hover { text-decoration: underline; }
.language { border: 1px solid var(--line); border-radius: 2rem; padding: 2px; }
.language a { min-width: 44px; justify-content: center; border-radius: 2rem; font-size: .875rem; }
.language a[aria-current] { background: var(--navy); color: var(--white); }
.language a:not([aria-current]):hover { background: #ede8dd; }

.hero { position: relative; isolation: isolate; background: #0c1925; color: var(--white); }
.hero-art, .hero-art img, .hero-art video, .hero-art::after { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-art { z-index: -1; overflow: hidden; }
.hero-art img, .hero-art video { display: block; object-fit: cover; object-position: center 52%; }
.hero-art video { visibility: hidden; }
.hero-art.has-frame video { visibility: visible; }
.hero-art::after {
  content: "";
  background: linear-gradient(0deg, rgba(7, 17, 28, .94), rgba(7, 17, 28, .22) 76%),
    linear-gradient(90deg, rgba(7, 17, 28, .55), transparent 76%);
}
.hero-inner { position: relative; min-height: max(36rem, calc(100svh - 4.5rem)); display: grid; align-items: end; padding-block: 5rem clamp(5.5rem, 8vw, 8.25rem); }
.hero-copy { max-width: 55rem; }
h1 { font-size: clamp(4rem, 7.6vw, 7rem); font-weight: 600; line-height: .94; letter-spacing: -.04em; text-wrap: balance; }
.hero-copy p { max-width: 42ch; margin-top: 1.4rem; font-size: clamp(1.1rem, 1.65vw, 1.45rem); color: #edf1f3; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 3rem; margin-top: 1.55rem; padding: .65rem 1.25rem; background: var(--gold); color: var(--navy); border-radius: .25rem; font-weight: 600; text-decoration: none; }
.button:hover { background: #f4cf8c; }
.button:focus-visible { outline-color: var(--white); }
.video-toggle { position: absolute; inset: auto 0 1.25rem auto; display: inline-flex; align-items: center; gap: .55rem; min-height: 44px; padding: .35rem .8rem; border: 1px solid #b6c1c8; border-radius: 2rem; background: #132434; color: var(--white); cursor: pointer; font-size: .875rem; }
.video-toggle:hover { background: #304353; }
.video-icon { display: block; width: .65rem; height: .72rem; background: currentColor; clip-path: polygon(8% 0, 100% 50%, 8% 100%); }
.video-toggle[data-playing="true"] .video-icon { background: none; border-inline: 3px solid currentColor; clip-path: none; }

h2 { font-size: clamp(2.55rem, 5.35vw, 5.6rem); font-weight: 600; line-height: .99; letter-spacing: -.04em; text-wrap: balance; }
.businesses { padding-block: clamp(3rem, 6.8vw, 7rem); }
.businesses h2 { margin-bottom: clamp(1.45rem, 3.2vw, 2.9rem); }
.company-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: stretch; gap: clamp(.85rem, 1.7vw, 1.5rem); }
.company { display: flex; flex-direction: column; overflow: hidden; color: var(--white); background: #182b3e; }
.company-media { overflow: hidden; aspect-ratio: 16 / 10; background: #cad7de; }
.company-image { display: block; width: 100%; height: 100%; object-fit: cover; }
.company--diemme .company-image { object-fit: contain; padding: 6% 4% 3% 8%; }
.company--hbts .company-image { object-position: center 39%; }
.company-copy { display: flex; flex: 1; flex-direction: column; padding: clamp(1.25rem, 3vw, 2.65rem); }
.company-actions { display: flex; flex-wrap: wrap; gap: 0 1.25rem; margin-top: auto; }
.company h3 { font-size: clamp(1.65rem, 3.2vw, 3.45rem); line-height: 1; letter-spacing: -.025em; }
.company p { max-width: 37ch; margin-block: .6rem .55rem; color: #edf1f3; font-size: clamp(1rem, 1.45vw, 1.2rem); }
.company-link, .contact-details a { display: inline-flex; gap: .45rem; align-items: center; min-height: 44px; font-weight: 600; }
.company-link:hover, .contact-details a:hover { text-decoration-thickness: 2px; }

.operations { background: #f5f1e8; }
.operations-inner, .story-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  align-items: start;
  gap: clamp(1.5rem, 6.5vw, 7.5rem);
  padding-block: clamp(3.6rem, 7vw, 7.5rem);
}
.operations h2, .story h2 { max-width: 12ch; }
.editorial-copy p, .story-copy p {
  max-width: 54ch;
  color: var(--muted);
  font-size: clamp(1.12rem, 1.55vw, 1.38rem);
  line-height: 1.5;
}
.story-copy h2 + p { margin-top: 1.45rem; }
.editorial-copy p + p, .story-copy p + p { margin-top: 1.05rem; }

.flowpack-section { overflow: hidden; background: #15283b; color: var(--white); }
.flowpack-inner {
  display: grid;
  grid-template-columns: minmax(0, .65fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(1.25rem, 5vw, 6rem);
  padding-block: clamp(2.85rem, 5.4vw, 5rem);
}
.flowpack-copy h2 { max-width: 10ch; font-size: clamp(2.45rem, 4.7vw, 5.1rem); }
.flowpack-copy p { max-width: 38ch; margin-top: 1rem; color: #e0e8ee; font-size: clamp(1.08rem, 1.55vw, 1.3rem); }
.package-interactive { display: grid; justify-items: center; }
.package-stage {
  --pouch-w: clamp(15rem, 37vw, 35rem);
  --pouch-h: calc(var(--pouch-w) * .32);
  --pouch-depth: calc(var(--pouch-w) * .086);
  position: relative;
  width: 100%;
  height: calc(var(--pouch-h) + 6rem);
  display: grid;
  place-items: center;
  perspective: 1000px;
}
.pouch-shadow {
  position: absolute;
  inset-block-end: 12%;
  width: 66%;
  height: 1.6rem;
  border-radius: 50%;
  background: #050b11;
  opacity: .74;
  filter: blur(13px);
}
.pouch {
  position: relative;
  width: var(--pouch-w);
  height: var(--pouch-h);
  transform-style: preserve-3d;
  transform: rotateX(-18deg) rotateY(var(--angle, -23deg)) rotateZ(15deg);
}
.pouch-skin, .pouch-core, .pouch-seal { position: absolute; inset: 0; }
.pouch-core {
  inset: 2% 10%;
  border-radius: 3% / 8%;
  background: #dad6cd;
  transform: translateZ(clamp(calc(var(--pouch-depth) * -.48), var(--layer), calc(var(--pouch-depth) * .48)));
}
.pouch-skin {
  inset-inline: 9.7%;
  border-radius: 3% / 8%;
  backface-visibility: hidden;
}
.pouch-front {
  display: grid;
  place-items: center;
  background-color: #f7f5f0;
  background-image: url("./assets/esagono-film.webp"),
    linear-gradient(158deg, #bcb4a633, transparent 16% 83%, #a5a19844),
    linear-gradient(180deg, #fffdfa 0%, #f9f8f4 24%, #f7f5f0 77%, #e5e1d7 100%);
  background-size: 100% 100%;
  background-blend-mode: multiply, normal, normal;
  box-shadow: inset 0 1px 2px #fff, inset 0 -2px 6px #9c978e45;
  transform: translateZ(calc(var(--pouch-depth) / 2));
}
.pouch-front img { display: block; width: 68%; height: auto; mix-blend-mode: multiply; }
.pouch-back {
  background: linear-gradient(178deg, #efede6, #f9f7f1 44%, #dedbd1);
  box-shadow: inset 0 -2px 7px #8b847445;
  transform: rotateY(180deg) translateZ(calc(var(--pouch-depth) / 2));
}
.pouch-back::after {
  content: "";
  position: absolute;
  inset: 47% 2% auto;
  height: 8%;
  border-radius: 10%;
  background: linear-gradient(#c7c0b3, #f6f4ed 36%, #e7e3d8 42%, #d6d0c4);
  box-shadow: 0 .1rem .25rem #615b4d55;
}
.pouch::before, .pouch::after {
  content: "";
  position: absolute;
  inset: calc((var(--pouch-h) - var(--pouch-depth)) / 2) 10% auto;
  height: var(--pouch-depth);
  border-radius: 2% / 9%;
  background: linear-gradient(180deg, #d2cec2, #eeeae2 80%, #f8f6f1);
  backface-visibility: hidden;
  transform: rotateX(90deg) translateZ(calc(var(--pouch-h) / 2));
}
.pouch::after {
  background: linear-gradient(180deg, #d3cfc4, #e9e5dc 75%, #f4f1ea);
  transform: rotateX(-90deg) translateZ(calc(var(--pouch-h) / 2));
}
.pouch-seal {
  inset: 3% auto 3% 0;
  width: 13%;
  background: linear-gradient(90deg, transparent 50%, #a6a09558),
    repeating-linear-gradient(90deg, #d9d4c9 0 2px, #f7f5ef 3px 5px, #e7e2d8 6px 7px);
  clip-path: polygon(0 0, 68% 3%, 100% 13%, 100% 87%, 68% 97%, 0 100%, 9% 94%, 0 88%, 9% 82%, 0 76%, 9% 70%, 0 64%, 9% 58%, 0 52%, 9% 46%, 0 40%, 9% 34%, 0 28%, 9% 22%, 0 16%, 9% 10%, 0 5%);
}
.pouch-seal--right { inset-inline: auto 0; transform: scaleX(-1); }
.package-turn {
  min-height: 44px;
  padding: .35rem .65rem;
  border: 0;
  background: transparent;
  color: #f5d694;
  font-weight: 600;
  cursor: pointer;
  text-underline-offset: .24em;
  text-decoration: underline;
}
.package-turn:hover { text-decoration-thickness: 2px; }

.story { background: var(--white); }
.story-inner { align-items: center; }
.founders-photo { margin: 0; }
.founders-image { display: grid; align-items: center; justify-items: center; aspect-ratio: 1024 / 688; overflow: hidden; background: #f1ecdf; }
.founders-image img { display: block; width: 63%; height: auto; mix-blend-mode: multiply; }
.founders-image img.founders-portrait { width: 100%; height: 100%; object-fit: cover; mix-blend-mode: normal; }
.founders-photo figcaption { margin-top: .65rem; color: var(--muted); font-weight: 600; }

.contact { background: var(--navy); color: var(--white); }
.contact-inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(1.5rem, 7vw, 6rem); padding-block: clamp(3.5rem, 7vw, 7rem); }
.contact h2 { color: var(--gold); }
.contact-details { display: grid; gap: 1.25rem; font-style: normal; }
.contact-details h3 { font-size: 1.2rem; }
.contact-details p { margin-top: .27rem; color: #edf1f3; font-size: 1.1rem; }
.contact-details a { overflow-wrap: anywhere; }
.contact-map {
  width: min(100%, 25rem);
  height: 11rem;
  display: block;
  border: 1px solid #647586;
  border-radius: .35rem;
  background: #e8ebed;
}
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: .75rem 2rem; padding-block: .9rem; }
.footer-inner p { color: var(--muted); }

.hero-copy p, .company p, .editorial-copy p, .flowpack-copy p, .story-copy p {
  text-align: justify;
  hyphens: auto;
}

@media (max-width: 45rem) {
  .header-inner { grid-template-columns: minmax(0, 1fr) auto; min-height: 0; gap: .05rem 1rem; padding-top: .5rem; }
  .language { grid-column: 2; grid-row: 1; }
  .main-nav { grid-column: 1 / -1; grid-row: 2; flex-wrap: wrap; gap: 0 .7rem; font-size: .93rem; }
  .hero-inner { min-height: max(30rem, calc(92svh - 6.5rem)); padding-block: 4rem 4.7rem; }
  .hero-art img, .hero-art video { object-position: 56% center; }
  h1 { font-size: clamp(2.75rem, 11.1vw, 5rem); }
  .hero-copy p { margin-top: 1rem; }
  .button { margin-top: 1.2rem; }
  .video-toggle { inset-block-end: .75rem; }
  .company-grid, .operations-inner, .flowpack-inner, .story-inner, .contact-inner { grid-template-columns: 1fr; }
  .package-stage { --pouch-w: clamp(13rem, 71vw, 26rem); height: calc(var(--pouch-h) + 3rem); }
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
  .hero-copy { animation: enter .65s cubic-bezier(.22, 1, .36, 1) both; }
  .company-image { transition: transform .45s ease; }
  .company:hover .company-image, .company:focus-within .company-image { transform: scale(1.025); }
  .pouch { transition: transform .22s ease-out; }
  .button { transition: background-color .2s, transform .2s; }
  .button:hover { transform: translateY(-2px); }
  .button:active { transform: translateY(0); }
}
@keyframes enter {
  from { transform: translateY(12px); }
  to { transform: translateY(0); }
}

.company .footage-link { color: #f0d499; }


.hero-copy { max-width: 70rem; }
.hero-copy h1 { font-size: clamp(2.65rem, 6.1vw, 6rem); text-wrap: initial; }
.hero-copy h1 span { display: block; }
.hero-copy p { max-width: 58ch; }

.corporate-section, .values-section { padding-block: clamp(3.6rem, 7vw, 7.5rem); }
.corporate-section.operations > .operations-inner { padding-block: 0; }
.corporate-section.operations h2, .international-section h2 { max-width: 14ch; }
.group-role {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: clamp(1.5rem, 6.5vw, 7.5rem);
  margin-top: clamp(2.25rem, 5vw, 4.75rem);
  padding-top: clamp(1.6rem, 3.5vw, 3.1rem);
  border-top: 1px solid var(--line);
}
.group-role h3, .mission-grid h3 { font-size: clamp(1.9rem, 3.35vw, 3.4rem); line-height: 1.05; letter-spacing: -.03em; }
.role-list { margin: 1.25rem 0 0; padding-inline-start: 1.2rem; color: var(--muted); font-size: clamp(1rem, 1.3vw, 1.15rem); }
.role-list li + li { margin-top: .45rem; }
.role-list li::marker { color: var(--ink); }
.group-visual img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  margin-top: clamp(1.2rem, 2.5vw, 2rem);
  object-fit: contain;
  mix-blend-mode: multiply;
}



.company-copy .company-specialty {
  color: #f0d499;
  font-size: .97rem;
  font-weight: 600;
}
.company-copy > p:not(.company-specialty) { max-width: 52ch; }

.corporate-intro { margin-top: 1.4rem; }
.corporate-grid, .strategy-grid, .mission-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.45rem, 3.5vw, 3.1rem);
  margin-top: clamp(1.8rem, 3.4vw, 3.15rem);
}
.corporate-grid > *, .strategy-grid > *, .mission-grid > * {
  padding-top: 1.05rem;
  border-top: 1px solid var(--line);
}
.corporate-grid h3, .strategy-grid h3 {
  font-size: clamp(1.3rem, 2vw, 1.8rem);
  line-height: 1.18;
}
.corporate-grid p, .strategy-grid p, .mission-grid p {
  margin-top: .65rem;
  color: var(--muted);
  font-size: clamp(1rem, 1.35vw, 1.15rem);
  text-align: justify;
  hyphens: auto;
}
.strategy-grid {
  margin-bottom: 0;
  padding: 0;
  list-style: none;
  counter-reset: strategy;
}
.strategy-grid li { counter-increment: strategy; }
.strategy-meta {
  display: flex;
  align-items: center;
  gap: .8rem;
  min-height: 2.5rem;
  margin-bottom: .75rem;
}
.strategy-meta::before {
  color: var(--muted);
  content: counter(strategy, decimal-leading-zero);
  font-size: 1.1rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.corporate-icon { display: block; flex: 0 0 auto; width: 1.55rem; height: 1.55rem; color: var(--navy); }
.international-section { background: var(--navy); color: var(--white); }
.international-section .editorial-copy p { color: #edf1f3; }
.international-origin { display: inline-flex; align-items: center; min-height: 44px; margin-top: 1rem; color: var(--gold); font-weight: 600; }
.values-section { background: #f5f1e8; }
.mission-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: clamp(2rem, 5.75vw, 5.75rem); }
.mission-grid p { max-width: 52ch; }
.values-grid {
  gap: 1px;
  border: 1px solid var(--line);
  background: var(--line);
}
.values-grid > div {
  padding: clamp(1.3rem, 2.7vw, 2.5rem);
  border: 0;
  background: var(--white);
}
.values-grid .corporate-icon {
  width: 2.75rem;
  height: 2.75rem;
  margin-bottom: 1.05rem;
  padding: .57rem;
  background: #efe2c5;
}
.values-section .mission-grid {
  gap: 0 1px;
  background: #46535f;
}
.values-section .mission-grid > div {
  padding: clamp(1.35rem, 3vw, 2.7rem);
  border: 0;
  background: var(--navy);
  color: var(--gold);
}
.values-section .mission-grid p { color: #edf1f3; }


.institutional-copy h2 { max-width: 15ch; }
.institutional-copy p {
  margin-top: 1rem;
  max-width: 49ch;
  color: #edf1f3;
  font-size: clamp(1rem, 1.4vw, 1.18rem);
  text-align: justify;
  hyphens: auto;
}
.contact-details h4 { margin: 0; font-size: 1.08rem; }
.contact-heading { color: var(--gold); }
.map-preview {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .5rem 1rem;
  width: min(100%, 25rem);
  padding: .8rem 1rem;
  border: 1px solid #647586;
  border-radius: .35rem;
}
.map-toggle {
  min-height: 44px;
  padding: 0;
  border: 0;
  color: var(--gold);
  background: transparent;
  text-decoration: underline;
  text-underline-offset: .25em;
  font-weight: 600;
  cursor: pointer;
}
.corporate-footer { align-items: start; padding-block: 1.4rem; }
.corporate-footer nav { display: grid; gap: .1rem; }
.corporate-footer nav a { display: flex; align-items: center; min-height: 44px; overflow-wrap: anywhere; }
.news-entry-meta { color: var(--muted); font-size: .93rem; }

.legal-content h2 { font-size: clamp(1.5rem, 2.8vw, 2.5rem); margin-block: 1.5rem .6rem; }
.legal-content section:first-child h2 { margin-block-start: 0; }

@media (max-width: 64rem) {
  .main-nav { gap: .5rem clamp(.65rem, 1.5vw, 1.25rem); }
}
@media (max-width: 51rem) {
  .header-inner { grid-template-columns: minmax(0, 1fr) auto; gap: .05rem 1rem; padding-top: .5rem; }
  .language { grid-column: 2; grid-row: 1; }
  .main-nav { grid-column: 1 / -1; grid-row: 2; flex-wrap: wrap; gap: 0 .7rem; }
  .corporate-grid, .strategy-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 45rem) {
  .hero-copy h1 { font-size: clamp(2.65rem, 8.5vw, 4.6rem); }
  .corporate-grid, .strategy-grid, .mission-grid, .group-role { grid-template-columns: 1fr; }
  .corporate-footer { display: grid; }
  .values-section .mission-grid { gap: 1px; }
}
