/*
 * ZOMFY — ultra-premium finishing layer.
 * Refines proportion, hierarchy and material without removing useful content.
 * This file intentionally loads last so the direction is consistent across
 * the homepage, portfolio and shared navigation/footer components.
 */

:root {
  --zomfy-hairline: color-mix(in srgb, currentColor 14%, transparent);
  --zomfy-soft-shadow: 0 18px 50px rgba(24, 29, 21, .075);
  --zomfy-lift-shadow: 0 28px 68px rgba(24, 29, 21, .13);
}

/* Shared chrome: quieter, more precise and less bulky. */
.site-header .nav-wrap { height: 78px; }
.site-header--complete .brand img { width: 132px; }
.site-header--complete .button--small {
  min-height: 43px;
  padding-inline: 15px;
  border-radius: 4px;
}
.site-header--complete .nav-wrap nav a,
.site-header--complete .nav-actions { letter-spacing: -.01em; }

.premium-page .button,
.premium-home .button { border-radius: 4px; }

/* Homepage hero: editorial scale, controlled movement and clean layering. */
.premium-home .hero-grid {
  z-index: 3;
  min-height: 520px;
  padding-top: 26px;
  padding-bottom: 30px;
  grid-template-columns: minmax(0, 1.06fr) minmax(440px, .94fr);
  gap: clamp(28px, 4vw, 64px);
}
.premium-home .hero-copy { padding-block: 12px; }
.premium-home .hero-copy .eyebrow { margin-bottom: 25px; }
.premium-home .hero h1 {
  max-width: 720px;
  font-size: clamp(62px, 6.35vw, 101px);
  line-height: .99;
  letter-spacing: -.062em;
}
.premium-home .hero-description {
  max-width: 480px;
  margin-top: 25px;
  font-size: 14px;
  line-height: 1.68;
}
.premium-home .hero-actions { margin-top: 27px; }
.premium-home .hero-actions .button {
  min-height: 49px;
  padding-inline: 18px;
}
.premium-home .hero-art { height: 400px; }
.premium-home .orbit { opacity: .72; }
.premium-home .art-card {
  padding: 10px;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 7px;
  box-shadow: 0 24px 42px rgba(0,0,0,.26);
}
.premium-home .art-card--foodeo {
  width: 326px;
  right: 2.5%;
  top: 42px;
  transform: rotate(-7deg);
}
.premium-home .art-card--directeat {
  z-index: 4;
  width: 282px;
  left: 2%;
  top: 206px;
  transform: rotate(7deg);
}
.premium-home .art-card--foodeo:hover { transform: translateY(-6px) rotate(-4deg); }
.premium-home .art-card--directeat:hover { transform: translateY(-6px) rotate(4deg); }
.premium-home .art-card-top { margin-bottom: 8px; }
.premium-home .art-card-top > span:first-child { font-size: 14px; }
.premium-home .art-card-bottom { padding-top: 9px; }
.premium-home .art-index { bottom: 4px; }
.premium-home .hero-bottom {
  z-index: 1;
  min-height: 58px;
}
.premium-home .hero-bottom::before { background: rgba(198, 204, 190, .23); }
.premium-home .home-journeys { position: relative; z-index: 4; }

/* Homepage work: gallery cadence instead of oversized tiles. */
.premium-home .work .wrap { max-width: 1450px; }
.premium-home .work .section-heading { margin-bottom: 42px; }
.premium-home .work .section-heading h2 {
  font-size: clamp(48px, 5.1vw, 74px);
  line-height: 1.02;
}
.premium-home .project-grid {
  gap: 42px 26px;
  align-items: start;
}
.premium-home .project--offset { margin-top: 42px; }
.premium-home .project-visual {
  height: clamp(320px, 25vw, 378px);
  border-radius: 7px;
  box-shadow: var(--zomfy-soft-shadow);
}
.premium-home .project-visual::after {
  content: '';
  position: absolute;
  z-index: 4;
  inset: 8px;
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 3px;
  pointer-events: none;
}
.premium-home .project-visual:hover,
.premium-home .project-visual:focus-visible {
  transform: translateY(-3px);
  box-shadow: var(--zomfy-lift-shadow);
}
.premium-home .project-visual .project-number {
  top: 18px;
  left: 18px;
  min-height: 25px;
  padding: 5px 9px;
  font-size: 8px;
  letter-spacing: .065em;
  box-shadow: 0 3px 12px rgba(23,27,22,.07);
}
.premium-home .project-art-word {
  top: 56px;
  left: 22px;
  font-size: clamp(29px, 2.55vw, 37px);
}
.premium-home .project-visual .project-chrome {
  height: 53px;
  padding-inline: 20px;
  font-size: 8px;
  letter-spacing: .11em;
}
.premium-home .project-visual .project-view {
  right: 10px;
  bottom: 6px;
  min-height: 40px;
  padding: 4px 6px 4px 11px;
  gap: 9px;
  font-size: 10px;
}
.premium-home .project-visual .project-view span {
  width: 28px;
  height: 28px;
  font-size: 16px;
}
.premium-home .project-info { margin-top: 15px; }
.premium-home .project-info h3 {
  font-size: clamp(21px, 1.8vw, 26px);
  letter-spacing: -.035em;
}
.premium-home .project-info p {
  max-width: 48ch;
  font-size: 11px;
  line-height: 1.65;
}
.premium-home .work-bottom { margin-top: 32px; }

/* Portfolio: a curated catalogue, not a wall of oversized cards. */
.ed-portfolio .ed-index-hero,
.ed-portfolio .ed-project-grid,
.ed-portfolio .ed-contact { max-width: 1480px; }
.ed-portfolio .ed-crumb { margin-bottom: 30px; }
.ed-portfolio .ed-index-heading {
  grid-template-columns: minmax(0, 1.25fr) minmax(300px, .75fr);
  gap: 7%;
  padding-bottom: 38px;
}
.ed-portfolio .ed-index-heading h1 {
  max-width: 780px;
  margin-top: 18px;
  font-size: clamp(62px, 7.2vw, 108px);
  line-height: .96;
  letter-spacing: -.066em;
}
.ed-portfolio .ed-index-aside {
  max-width: 350px;
  padding-bottom: 3px;
}
.ed-portfolio .ed-index-aside h2 {
  margin-block: 12px 15px;
  font-size: 23px;
  line-height: 1.18;
}
.ed-portfolio .ed-index-aside p {
  margin-top: 8px;
  font-size: 12px;
  line-height: 1.7;
}
.ed-portfolio .ed-filter-row {
  margin-bottom: 24px;
  padding-block: 15px;
}
.ed-portfolio .ed-filter-row .filter-group button {
  padding: 7px 14px;
  font-size: 10px;
}
.ed-portfolio .ed-project-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 46px 30px;
  padding-bottom: 70px;
}
.ed-portfolio .ed-project:nth-child(even) { margin-top: 36px; }
.ed-portfolio .ed-project-visual {
  height: clamp(340px, 26vw, 385px);
  border-radius: 7px;
  box-shadow: var(--zomfy-soft-shadow);
}
.ed-portfolio .ed-project-visual::after { inset: 8px; }
.ed-portfolio .ed-project-visual:hover,
.ed-portfolio .ed-project-visual:focus-visible {
  transform: translateY(-3px);
  box-shadow: var(--zomfy-lift-shadow);
}
.ed-portfolio .ed-project-number {
  top: 18px;
  left: 18px;
  min-height: 25px;
  padding: 3px 9px;
  font-size: 8px;
}
.ed-portfolio .ed-project-word {
  top: 57px;
  left: 20px;
  max-width: 78%;
  font-size: clamp(29px, 2.65vw, 38px);
}
.ed-portfolio .ed-project-visual img,
.ed-portfolio .ed-project:nth-child(even) .ed-project-visual img,
.ed-portfolio .ed-project:nth-child(3) .ed-project-visual img {
  top: 123px;
  border-width: 4px;
  border-radius: 4px;
  box-shadow: 0 16px 34px rgba(37,44,33,.12);
}
.ed-portfolio .ed-project-open {
  right: 17px;
  bottom: 17px;
  width: 43px;
  height: 43px;
}
.ed-portfolio .ed-project-heading {
  margin-top: 17px;
  gap: 12px;
}
.ed-portfolio .ed-project-heading h2 {
  font-size: clamp(21px, 1.9vw, 28px);
  letter-spacing: -.035em;
}
.ed-portfolio .ed-tags { gap: 5px; }
.ed-portfolio .ed-tags span {
  padding: 4px 7px;
  font-size: 6.5px;
  letter-spacing: .035em;
}
.ed-portfolio .ed-project > p {
  margin-top: 6px;
  max-width: 56ch;
  font-size: 12px;
  line-height: 1.65;
}
.ed-portfolio .ed-project-links {
  margin-top: 14px;
  padding-top: 13px;
}

/* Final invitation and footer: confidence through restraint. */
.premium-home .contact {
  padding-top: 62px;
  padding-bottom: 42px;
}
.premium-home .contact::after {
  width: 540px;
  height: 540px;
  right: -105px;
  top: -120px;
}
.premium-home .contact-heading {
  margin-top: 34px;
  gap: clamp(36px, 7vw, 110px);
}
.premium-home .contact h2 {
  max-width: 820px;
  font-size: clamp(54px, 5.85vw, 88px);
  line-height: .99;
  letter-spacing: -.058em;
}
.premium-home .contact-orb {
  width: 138px;
  height: 138px;
  margin-right: clamp(8px, 4vw, 58px);
  gap: 4px;
}
.premium-home .contact-orb::after { inset: -11px; }
.premium-home .contact-orb > span:first-child { font-size: 50px; }
.premium-home .contact-orb > span:last-child { font-size: 8px; }
.premium-home .contact-bottom {
  margin-top: 35px;
  padding-top: 24px;
  border-top: 1px solid rgba(220,230,210,.13);
}
.premium-home .contact-bottom p { font-size: 11px; }
.premium-home .contact-bottom > a {
  min-width: 260px;
  padding-bottom: 6px;
  gap: 35px;
  font-size: 18px;
}

.site-footer--complete {
  padding-top: 34px;
  border-top: 1px solid rgba(211,224,202,.08);
}
.site-footer--complete .footer-directory {
  grid-template-columns: repeat(3, minmax(180px, 1fr));
  gap: clamp(34px, 6vw, 95px);
  padding-bottom: 28px;
  margin-bottom: 24px;
}
.site-footer--complete .footer-nav-column { gap: 4px; }
.site-footer--complete .footer-nav-column h2 {
  margin-bottom: 8px;
  font-size: 12px;
  letter-spacing: -.01em;
}
.site-footer--complete .footer-nav-column a {
  width: fit-content;
  padding-block: 2px;
  font-size: 12px;
  line-height: 1.45;
}
.site-footer--complete .footer-main {
  min-height: 68px;
  padding-bottom: 22px;
}
.site-footer--complete .footer-main .brand img { width: 118px; }
.site-footer--complete .footer-main p,
.site-footer--complete .footer-main > a:not(.brand) { font-size: 11px; }
.site-footer--complete .footer-bottom {
  min-height: 48px;
  font-size: 7px;
}

@media (min-width: 1500px) {
  .premium-home .hero-grid { min-height: 555px; }
  .premium-home .hero-art { height: 420px; }
  .premium-home .art-card--foodeo { width: 348px; }
  .premium-home .art-card--directeat { width: 302px; top: 215px; }
}

@media (max-width: 1100px) {
  .premium-home .hero-grid {
    grid-template-columns: minmax(0, 1.08fr) minmax(360px, .92fr);
    min-height: 485px;
  }
  .premium-home .hero h1 { font-size: clamp(56px, 6.7vw, 76px); }
  .premium-home .hero-art { height: 365px; }
  .premium-home .art-card--foodeo { width: 276px; right: 0; }
  .premium-home .art-card--directeat { width: 246px; top: 190px; }
  .premium-home .project--offset { margin-top: 28px; }
  .premium-home .project-visual { height: clamp(285px, 31vw, 340px); }
  .ed-portfolio .ed-project-visual { height: clamp(315px, 32vw, 365px); }
  .ed-portfolio .ed-project-word { max-width: 85%; }
}

@media (max-width: 800px) {
  .site-header .nav-wrap { height: 74px; }
  .site-header--complete .brand img { width: 126px; }
  .premium-home .hero-grid {
    display: flex;
    min-height: auto;
    padding-block: 28px 30px;
  }
  .premium-home .hero h1 { font-size: clamp(47px, 11.4vw, 69px); }
  .premium-home .hero-description { font-size: 13px; }
  .premium-home .hero-art { height: 340px; }
  .premium-home .art-card--foodeo { width: min(68%, 300px); right: 4%; top: 30px; }
  .premium-home .art-card--directeat { width: min(61%, 268px); left: 4%; top: 166px; }
  .premium-home .project-grid { gap: 35px; }
  .premium-home .project--offset { margin-top: 0; }
  .premium-home .project-visual { height: auto; aspect-ratio: 1.28; }
  .ed-portfolio .ed-index-heading { display: block; }
  .ed-portfolio .ed-index-heading h1 {
    max-width: 630px;
    font-size: clamp(58px, 12vw, 88px);
  }
  .ed-portfolio .ed-index-aside { margin: 27px 0 0; }
  .ed-portfolio .ed-project-grid { grid-template-columns: 1fr; gap: 42px; }
  .ed-portfolio .ed-project:nth-child(even) { margin-top: 0; }
  .ed-portfolio .ed-project-visual { height: auto; aspect-ratio: 1.32; }
  .premium-home .contact-heading { gap: 30px; }
  .premium-home .contact h2 { font-size: clamp(48px, 8vw, 66px); }
  .premium-home .contact-orb { width: 116px; height: 116px; margin-right: 8px; }
}

@media (max-width: 640px) {
  .site-header .nav-wrap { height: 72px; }
  .site-header--complete .brand img { width: 122px; }
  .premium-home .hero-copy .eyebrow { margin-bottom: 20px; }
  .premium-home .hero h1 {
    max-width: 340px;
    font-size: clamp(44px, 12.2vw, 58px);
    line-height: 1.01;
  }
  .premium-home .hero-description { margin-top: 20px; font-size: 12px; }
  .premium-home .hero-actions { margin-top: 21px; }
  .premium-home .hero-art { height: 318px; margin-top: 26px; }
  .premium-home .art-card--foodeo { top: 26px; transform: rotate(-6deg); }
  .premium-home .art-card--directeat { top: 155px; transform: rotate(6deg); }
  .premium-home .hero-bottom { min-height: 57px; }
  .premium-home .work .section-heading h2 { font-size: clamp(43px, 12.4vw, 57px); }
  .premium-home .project-grid { gap: 31px; }
  .premium-home .project-visual { aspect-ratio: 1.18; }
  .premium-home .project-visual .project-chrome { height: 50px; padding-left: 15px; }
  .premium-home .project-info { margin-top: 13px; }
  .premium-home .project-info h3 { font-size: 21px; }
  .ed-portfolio .ed-crumb { margin-bottom: 24px; }
  .ed-portfolio .ed-index-heading { padding-bottom: 30px; }
  .ed-portfolio .ed-index-heading h1 {
    max-width: 330px;
    margin-top: 17px;
    font-size: clamp(52px, 15.2vw, 67px);
    line-height: .98;
  }
  .ed-portfolio .ed-index-aside { margin-top: 24px; }
  .ed-portfolio .ed-index-aside h2 { max-width: 310px; font-size: 22px; }
  .ed-portfolio .ed-filter-row {
    align-items: flex-start;
    padding-block: 14px;
    margin-bottom: 19px;
  }
  .ed-portfolio .ed-filter-row > p { padding-top: 8px; }
  .ed-portfolio .ed-filter-row > span { display: none; }
  .ed-portfolio .ed-project-grid { gap: 36px; padding-bottom: 52px; }
  .ed-portfolio .ed-project-visual { aspect-ratio: 1.16; }
  .ed-portfolio .ed-project-number { top: 15px; left: 15px; }
  .ed-portfolio .ed-project-word { top: 51px; left: 17px; font-size: 30px; }
  .ed-portfolio .ed-project-visual img,
  .ed-portfolio .ed-project:nth-child(even) .ed-project-visual img,
  .ed-portfolio .ed-project:nth-child(3) .ed-project-visual img { top: 105px; }
  .ed-portfolio .ed-project-heading { margin-top: 14px; }
  .ed-portfolio .ed-project-heading h2 { font-size: 23px; }
  .premium-home .contact { padding-top: 48px; padding-bottom: 32px; }
  .premium-home .contact-heading { margin-top: 27px; }
  .premium-home .contact h2 {
    max-width: 340px;
    font-size: clamp(43px, 11.8vw, 53px);
    line-height: 1.02;
  }
  .premium-home .contact-orb {
    width: 92px;
    height: 92px;
    margin-top: 29px;
  }
  .premium-home .contact-orb > span:first-child { font-size: 38px; }
  .premium-home .contact-bottom { margin-top: 27px; padding-top: 20px; }
  .premium-home .contact-bottom > a { min-width: 0; font-size: 19px; }
  .site-footer--complete .footer-directory {
    grid-template-columns: 1fr 1fr;
    gap: 26px 22px;
    padding-bottom: 25px;
  }
  .site-footer--complete .footer-nav-column:last-child { grid-column: 1 / -1; }
  .site-footer--complete .footer-main { min-height: 0; }
}

@media (max-width: 420px) {
  .premium-home .art-card--directeat { top: 148px; }
  .premium-home .project-visual { aspect-ratio: 1.1; }
  .ed-portfolio .ed-project-visual { aspect-ratio: 1.08; }
  .ed-portfolio .ed-tags { max-width: 120px; }
  .ed-portfolio .ed-project-links { gap: 12px; }
  .site-footer--complete .footer-directory { grid-template-columns: 1fr; gap: 22px; }
  .site-footer--complete .footer-nav-column:last-child { grid-column: auto; }
}

@media (prefers-reduced-motion: reduce) {
  .premium-home .art-card,
  .premium-home .project-visual,
  .ed-portfolio .ed-project-visual { transition: none; }
}
