/*
Theme Name: JW Pharmaceuticals
Author: JW Pharmaceuticals
Description: premium pharmaceutical and medical supply theme
Version: 1.0.0
Text Domain: jw-pharma
*/

/* WordPress compatibility and content defaults */
ul.menu-items {
  list-style: none;
  margin: 0;
  padding: 0;
}

.desktop-nav .menu-items {
  display: flex;
  align-items: center;
  gap: clamp(24px, 3vw, 46px);
}

.mobile-nav-panel .menu-items {
  display: grid;
  width: 100%;
}

.mobile-nav-panel .menu-items a {
  display: block;
}

button,
input,
select,
textarea {
  font: inherit;
}

.admin-bar .site-header {
  top: 32px;
}

@media screen and (max-width: 782px) {
  .admin-bar .site-header {
    top: 46px;
  }
}

.entry-content,
.page-content,
.post-content {
  color: var(--ink);
  line-height: 1.7;
}

:root {
  --ivory: #f7f3eb;
  --paper: #fffdf8;
  --ink: #171314;
  --muted: #6f6664;
  --wine: #7c0f27;
  --wine-deep: #34050f;
  --wine-dark: #1a050a;
  --red: #b7142f;
  --orange: #f28a24;
  --amber: #ffb147;
  --champagne: #f1dfc0;
  --line: rgba(61, 33, 29, 0.14);
  --font-body: 'Avenir Next', 'Segoe UI', Helvetica, Arial, sans-serif;
  --font-display:
    'Iowan Old Style', 'Palatino Linotype', 'Book Antiqua', Georgia, serif;
  --shell: min(1320px, calc(100vw - 80px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--font-body);
  text-rendering: optimizeLegibility;
}

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

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

.shell {
  width: var(--shell);
  margin-inline: auto;
}

.site-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 20;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 94px;
  padding: 0 max(40px, calc((100vw - 1320px) / 2));
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  color: #fff;
}

.brand {
  display: inline-flex;
  align-items: center;
  width: max-content;
  gap: 12px;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 45px;
  height: 52px;
  overflow: hidden;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2);
}

.brand-mark img {
  width: 28px;
  height: 39px;
  object-fit: contain;
}

.brand-name {
  display: grid;
  line-height: 1;
}

.brand-name strong {
  font-size: 1rem;
  letter-spacing: 0.25em;
}

.brand-name small {
  margin-top: 7px;
  color: rgba(255, 255, 255, 0.67);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: clamp(24px, 3vw, 46px);
  font-size: 0.77rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.desktop-nav a {
  position: relative;
  padding: 38px 0 34px;
  color: rgba(255, 255, 255, 0.72);
  transition: color 180ms ease;
}

.desktop-nav a::after {
  position: absolute;
  right: 0;
  bottom: 28px;
  left: 0;
  height: 1px;
  background: var(--amber);
  content: '';
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}

.desktop-nav a:hover {
  color: #fff;
}

.desktop-nav a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.header-cta {
  display: inline-flex;
  align-items: center;
  justify-self: end;
  gap: 10px;
  padding: 12px 18px;
  border: 1px solid rgba(255, 255, 255, 0.52);
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  transition:
    background 180ms ease,
    color 180ms ease;
}

.header-cta svg,
.button svg {
  width: 16px;
  height: 16px;
}

.header-cta:hover {
  background: #fff;
  color: var(--wine-deep);
}

.hero {
  position: relative;
  display: grid;
  min-height: clamp(720px, 90vh, 940px);
  align-items: center;
  overflow: hidden;
  background: var(--wine-dark);
  color: #fff;
}

.hero-image,
.hero-wash {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
  object-position: center;
}

.hero-wash {
  background:
    radial-gradient(
      circle at 79% 26%,
      rgba(244, 145, 50, 0.08),
      transparent 28%
    ),
    linear-gradient(
      90deg,
      rgba(25, 2, 7, 0.42) 0%,
      rgba(25, 2, 7, 0.08) 58%,
      rgba(25, 2, 7, 0.12) 100%
    ),
    linear-gradient(
      180deg,
      rgba(10, 0, 3, 0.22) 0%,
      transparent 30%,
      rgba(10, 0, 3, 0.38) 100%
    );
}

.hero-content {
  position: relative;
  z-index: 3;
  padding-top: 98px;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 13px;
  margin: 0 0 30px;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.19em;
  text-transform: uppercase;
}

.eyebrow span {
  width: 30px;
  height: 1px;
  background: currentColor;
}

.eyebrow.light {
  color: var(--amber);
}

.hero h1 {
  max-width: 780px;
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(4.1rem, 7.7vw, 8rem);
  font-weight: 400;
  letter-spacing: -0.052em;
  line-height: 0.82;
}

.hero h1 em {
  color: var(--amber);
  font-weight: 400;
}

.hero-copy {
  max-width: 560px;
  margin: 36px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: clamp(1.02rem, 1.35vw, 1.2rem);
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-top: 38px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  min-height: 54px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  background: linear-gradient(120deg, #cb1738, #f18b25);
  box-shadow: 0 16px 38px rgba(177, 30, 49, 0.38);
  color: #fff;
}

.button-primary:hover {
  box-shadow: 0 20px 48px rgba(177, 30, 49, 0.5);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid currentColor;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.light-link {
  color: rgba(255, 255, 255, 0.86);
}

.hero-assurance {
  display: flex;
  gap: 34px;
  margin-top: 42px;
  color: rgba(255, 255, 255, 0.54);
  font-size: 0.75rem;
}

.hero-assurance span {
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero-assurance svg {
  width: 14px;
  height: 14px;
  color: var(--amber);
}

.hero-vertical {
  position: absolute;
  right: 26px;
  bottom: 160px;
  z-index: 4;
  margin: 0;
  color: rgba(255, 255, 255, 0.48);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  transform: rotate(90deg) translateX(100%);
  transform-origin: right bottom;
}

.hero-orbit {
  position: absolute;
  z-index: 2;
  border: 1px solid rgba(255, 176, 69, 0.18);
  border-radius: 50%;
  pointer-events: none;
}

.hero-orbit-one {
  top: 20%;
  left: -220px;
  width: 520px;
  height: 520px;
}

.hero-orbit-two {
  top: calc(20% + 36px);
  left: -184px;
  width: 448px;
  height: 448px;
}

.trust-bar {
  position: relative;
  z-index: 6;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

.trust-grid {
  display: grid;
  grid-template-columns: 1.25fr repeat(3, 1fr);
  align-items: stretch;
}

.trust-intro {
  display: flex;
  align-items: center;
  margin: 0;
  padding: 28px 40px 28px 0;
  color: var(--wine);
  font-family: var(--font-display);
  font-size: 1.18rem;
  font-style: italic;
  line-height: 1.4;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 15px;
  min-height: 112px;
  padding: 24px 28px;
  border-left: 1px solid var(--line);
}

.trust-icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: #f8e8d6;
  color: var(--wine);
}

.trust-icon svg {
  width: 17px;
  height: 17px;
}

.trust-item > span:last-child {
  display: grid;
}

.trust-item strong {
  font-family: var(--font-display);
  font-size: 1.34rem;
  font-weight: 600;
  line-height: 1;
}

.trust-item small {
  margin-top: 7px;
  color: var(--muted);
  font-size: 0.67rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

@media (max-width: 1080px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .desktop-nav {
    display: none;
  }

  .trust-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .trust-intro {
    grid-column: 1 / -1;
    justify-content: center;
    padding: 24px;
    border-bottom: 1px solid var(--line);
    text-align: center;
  }
}

@media (max-width: 720px) {
  :root {
    --shell: min(100% - 40px, 1320px);
  }

  .site-header {
    min-height: 78px;
    padding-inline: 20px;
  }

  .brand-mark {
    width: 39px;
    height: 45px;
  }

  .brand-mark img {
    width: 24px;
    height: 34px;
  }

  .brand-name small,
  .header-cta {
    display: none;
  }

  .hero {
    min-height: 790px;
    align-items: end;
  }

  .hero-image {
    object-position: 64% center;
  }

  .hero-wash {
    background: linear-gradient(
      180deg,
      rgba(28, 2, 8, 0.24),
      rgba(28, 2, 8, 0.74) 55%,
      rgba(20, 1, 5, 0.94)
    );
  }

  .hero-content {
    padding: 150px 0 66px;
  }

  .eyebrow {
    align-items: flex-start;
    font-size: 0.65rem;
    line-height: 1.5;
  }

  .eyebrow span {
    margin-top: 7px;
  }

  .hero h1 {
    font-size: clamp(3.7rem, 18vw, 5.3rem);
    line-height: 0.88;
  }

  .hero-copy {
    margin-top: 28px;
    font-size: 1rem;
    line-height: 1.65;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
    gap: 12px;
  }

  .button {
    width: 100%;
  }

  .text-link {
    align-self: center;
  }

  .hero-assurance {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
    margin-top: 28px;
  }

  .hero-vertical,
  .hero-orbit {
    display: none;
  }

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

  .trust-item {
    min-height: 92px;
    border-top: 1px solid var(--line);
    border-left: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

/* Full site sections */

.mobile-nav {
  display: none;
}

.section {
  padding-block: clamp(92px, 10vw, 150px);
}

.section-kicker {
  display: flex;
  align-items: center;
  gap: 13px;
  margin: 0 0 26px;
  color: var(--wine);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.section-kicker::before {
  width: 32px;
  height: 1px;
  background: currentColor;
  content: '';
}

.light-kicker {
  color: var(--amber);
}

.story {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(390px, 0.78fr);
  gap: clamp(64px, 9vw, 140px);
  align-items: center;
}

.story-copy h2,
.section-heading h2,
.partnership h2,
.quality h2,
.contact h2,
.closing-cta h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 5.7vw, 6rem);
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 0.9;
}

.story-copy h2 em,
.section-heading h2 em,
.partnership h2 em,
.quality h2 em,
.contact h2 em,
.closing-cta h2 em {
  color: var(--orange);
  font-weight: 400;
}

.story-copy .lead {
  max-width: 680px;
  margin: 40px 0 0;
  color: #3b3332;
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 1.8vw, 1.62rem);
  line-height: 1.55;
}

.story-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px;
  margin-top: 34px;
}

.story-columns p {
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.78;
}

.dark-link {
  margin-top: 34px;
  color: var(--wine);
}

.dark-link svg {
  width: 16px;
  height: 16px;
}

.story-visual {
  position: relative;
  min-height: 650px;
  overflow: hidden;
  border-radius: 34px;
  background:
    linear-gradient(152deg, rgba(245, 154, 60, 0.3), transparent 35%),
    linear-gradient(145deg, #5b0719 0%, #22040a 58%, #130104 100%);
  box-shadow: 0 42px 90px rgba(56, 9, 18, 0.25);
  color: #fff;
}

.story-visual::before,
.story-visual::after {
  position: absolute;
  border: 1px solid rgba(255, 190, 109, 0.24);
  border-radius: 50%;
  content: '';
}

.story-visual::before {
  top: -170px;
  right: -170px;
  width: 510px;
  height: 510px;
}

.story-visual::after {
  top: -122px;
  right: -122px;
  width: 414px;
  height: 414px;
}

.story-glow {
  position: absolute;
  top: 6%;
  right: 8%;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: var(--orange);
  filter: blur(90px);
  opacity: 0.34;
}

.story-mark {
  position: absolute;
  top: 54px;
  right: 58px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 116px;
  height: 136px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.93);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
  transform: rotate(3deg);
}

.story-mark img {
  width: 68px;
  height: 95px;
  object-fit: contain;
}

.story-manifesto {
  position: absolute;
  right: 48px;
  bottom: 134px;
  left: 48px;
  z-index: 2;
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 3.7vw, 4rem);
  font-style: italic;
  letter-spacing: -0.035em;
  line-height: 1;
}

.story-values {
  position: absolute;
  right: 48px;
  bottom: 44px;
  left: 48px;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.52);
  font-size: 0.63rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.portfolio {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 14% 6%, rgba(179, 22, 51, 0.26), transparent 30%),
    radial-gradient(
      circle at 90% 92%,
      rgba(241, 137, 37, 0.12),
      transparent 28%
    ),
    var(--wine-dark);
  color: #fff;
}

.portfolio::before {
  position: absolute;
  top: -430px;
  right: -430px;
  width: 850px;
  height: 850px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 50%;
  content: '';
}

.section-heading {
  position: relative;
  z-index: 2;
  margin-bottom: clamp(54px, 6vw, 82px);
}

.split-heading {
  display: grid;
  grid-template-columns: 1.4fr 0.6fr;
  gap: 60px;
  align-items: end;
}

.split-heading > p {
  max-width: 390px;
  justify-self: end;
  margin: 0 0 6px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.95rem;
  line-height: 1.75;
}

.portfolio-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 18px;
}

.portfolio-card {
  position: relative;
  display: flex;
  grid-column: span 5;
  min-height: 270px;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  padding: 34px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.055);
  transition:
    transform 240ms ease,
    background 240ms ease,
    border-color 240ms ease;
}

.portfolio-card.featured {
  grid-row: span 2;
  grid-column: span 7;
  min-height: 558px;
  background:
    linear-gradient(155deg, rgba(199, 24, 55, 0.42), transparent 58%),
    rgba(255, 255, 255, 0.06);
}

.portfolio-card:nth-child(n + 4) {
  grid-column: span 6;
  min-height: 300px;
}

.portfolio-card.product-card {
  background:
    linear-gradient(145deg, rgba(245, 148, 45, 0.34), rgba(132, 13, 38, 0.22)),
    rgba(255, 255, 255, 0.055);
}

.portfolio-card:hover {
  border-color: rgba(255, 184, 95, 0.46);
  background-color: rgba(255, 255, 255, 0.09);
  transform: translateY(-6px);
}

.portfolio-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: rgba(255, 255, 255, 0.48);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.portfolio-topline svg {
  width: 26px;
  height: 26px;
  color: var(--amber);
  stroke-width: 1.5;
}

.portfolio-card h3 {
  max-width: 420px;
  margin: 58px 0 0;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 2.7vw, 3.15rem);
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 1;
}

.portfolio-card:not(.featured) h3 {
  margin-top: 40px;
  font-size: clamp(1.55rem, 2vw, 2.25rem);
}

.portfolio-card p {
  max-width: 540px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.88rem;
  line-height: 1.7;
}

.card-arrow {
  position: absolute;
  right: 26px;
  bottom: 24px;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  color: var(--amber);
  opacity: 0;
  transform: translateX(-10px);
  transition:
    opacity 180ms ease,
    transform 180ms ease;
}

.portfolio-card:hover .card-arrow,
.portfolio-card:focus-visible .card-arrow {
  opacity: 1;
  transform: translateX(0);
}

.card-arrow svg {
  width: 16px;
  height: 16px;
}

.partnership {
  position: relative;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  min-height: 690px;
  overflow: hidden;
  padding: 0;
  border-radius: 36px;
  background:
    radial-gradient(
      circle at 22% 42%,
      rgba(247, 151, 51, 0.3),
      transparent 25%
    ),
    linear-gradient(135deg, #27040b, #620a20 62%, #8b1131);
  box-shadow: 0 42px 100px rgba(74, 8, 24, 0.24);
  color: #fff;
}

.partnership-art {
  position: relative;
  min-height: 690px;
  overflow: hidden;
  border-right: 1px solid rgba(255, 255, 255, 0.12);
}

.partnership-art::before {
  position: absolute;
  inset: 14% 12%;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(255, 213, 154, 0.3),
    transparent 60%
  );
  filter: blur(32px);
  content: '';
}

.lens-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  border: 1px solid rgba(255, 217, 168, 0.36);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.ring-one {
  width: 430px;
  height: 430px;
}

.ring-two {
  width: 320px;
  height: 320px;
}

.ring-three {
  width: 210px;
  height: 210px;
  background: radial-gradient(
    circle at 36% 30%,
    rgba(255, 222, 174, 0.26),
    rgba(255, 255, 255, 0.025) 55%
  );
  box-shadow: inset 0 0 44px rgba(255, 255, 255, 0.06);
}

.partnership-art > span {
  position: absolute;
  top: 50%;
  left: 50%;
  font-family: var(--font-display);
  font-size: 9rem;
  font-style: italic;
  line-height: 1;
  transform: translate(-53%, -53%);
}

.partnership-copy {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(54px, 7vw, 102px);
}

.partner-name {
  margin: 0 0 16px;
  color: rgba(255, 255, 255, 0.48);
  font-size: 0.69rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.partnership-copy > p:not(.section-kicker, .partner-name) {
  max-width: 590px;
  margin: 34px 0 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 1rem;
  line-height: 1.78;
}

.partner-tags {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 30px;
}

.partner-tags span {
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.17);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.button-light {
  align-self: flex-start;
  margin-top: 38px;
  background: var(--ivory);
  color: var(--wine-deep);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.16);
}

.button-light:hover {
  background: #fff;
}

.process {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(60px, 8vw, 130px);
}

.process-heading h2 {
  font-size: clamp(3.35rem, 5.2vw, 5.5rem);
}

.process-grid {
  display: grid;
  gap: 0;
}

.process-card {
  position: relative;
  display: grid;
  grid-template-columns: 58px minmax(180px, 0.7fr) 1fr;
  gap: 30px;
  align-items: start;
  padding: 34px 0;
  border-top: 1px solid var(--line);
}

.process-card:last-child {
  border-bottom: 1px solid var(--line);
}

.process-number {
  color: var(--orange);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.process-card h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.65rem;
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.12;
}

.process-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.72;
}

.quality {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(
      circle at 7% 86%,
      rgba(239, 134, 34, 0.16),
      transparent 26%
    ),
    linear-gradient(140deg, #160206, #39060f 70%, #25040a);
  color: #fff;
}

.quality-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(64px, 10vw, 150px);
  align-items: center;
}

.quality-intro > p:not(.section-kicker) {
  max-width: 520px;
  margin: 34px 0 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.98rem;
  line-height: 1.78;
}

.button-outline-light {
  align-self: flex-start;
  margin-top: 36px;
  border-color: rgba(255, 255, 255, 0.32);
  color: #fff;
}

.button-outline-light:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.quality-list {
  display: grid;
}

.quality-item {
  display: grid;
  grid-template-columns: 38px 54px 1fr;
  gap: 24px;
  align-items: start;
  padding: 36px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.13);
}

.quality-item:last-child {
  border-bottom: 1px solid rgba(255, 255, 255, 0.13);
}

.quality-index {
  padding-top: 13px;
  color: rgba(255, 255, 255, 0.34);
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.quality-icon {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  border: 1px solid rgba(255, 185, 94, 0.26);
  border-radius: 50%;
  background: rgba(255, 170, 67, 0.08);
  color: var(--amber);
}

.quality-icon svg {
  width: 20px;
  height: 20px;
}

.quality-item h3 {
  margin: 5px 0 10px;
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 500;
}

.quality-item p {
  max-width: 500px;
  margin: 0;
  color: rgba(255, 255, 255, 0.48);
  font-size: 0.86rem;
  line-height: 1.7;
}

.contact {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: clamp(60px, 9vw, 140px);
  align-items: start;
}

.contact-intro > p:not(.section-kicker) {
  max-width: 500px;
  margin: 34px 0 0;
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.76;
}

.contact-note {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 38px;
}

.contact-note > svg {
  width: 20px;
  height: 20px;
  color: var(--orange);
}

.contact-note > span {
  display: grid;
}

.contact-note strong {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
}

.contact-note small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.7rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.contact-form {
  display: grid;
  gap: 26px;
  padding: clamp(32px, 5vw, 58px);
  border: 1px solid var(--line);
  border-radius: 30px;
  background: var(--paper);
  box-shadow: 0 28px 80px rgba(67, 23, 24, 0.09);
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.form-field {
  display: grid;
  gap: 10px;
}

.form-field label {
  color: #443a38;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.form-field input,
.form-field textarea {
  height: 52px;
  padding-inline: 16px;
  border-color: var(--line);
  border-radius: 12px;
  background: #fffdf9;
  box-shadow: none;
  font-family: var(--font-body);
}

.form-field textarea {
  min-height: 118px;
  padding-block: 15px;
  resize: vertical;
}

.form-field input:focus-visible,
.form-field textarea:focus-visible {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(242, 138, 36, 0.12);
}

.form-submit {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.form-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 24px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(120deg, var(--wine), var(--red));
  color: #fff;
  cursor: pointer;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.form-button svg {
  width: 16px;
  height: 16px;
}

.contact-status-success {
  color: #287848 !important;
}

.contact-status-error,
.contact-status-invalid,
.contact-status-rate {
  color: #a50f2a !important;
}

.form-trap {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.form-button:hover {
  background: linear-gradient(120deg, #650b1f, #a40f29);
}

.form-submit p {
  flex: 1;
  margin: 0;
  color: var(--muted);
  font-size: 0.73rem;
  line-height: 1.5;
}

.closing-cta {
  position: relative;
  overflow: hidden;
  padding: clamp(90px, 10vw, 145px) 0;
  background:
    radial-gradient(
      circle at 72% 30%,
      rgba(255, 174, 69, 0.2),
      transparent 26%
    ),
    linear-gradient(118deg, #8e0e2b, #5b081a 55%, #24040a);
  color: #fff;
  text-align: center;
}

.closing-cta::before,
.closing-cta::after {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  content: '';
}

.closing-cta::before {
  top: -240px;
  left: -180px;
  width: 620px;
  height: 620px;
}

.closing-cta::after {
  right: -200px;
  bottom: -320px;
  width: 740px;
  height: 740px;
}

.closing-inner {
  position: relative;
  z-index: 2;
  display: grid;
  justify-items: center;
}

.closing-inner > p {
  margin: 0 0 26px;
  color: var(--amber);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.closing-cta h2 {
  font-size: clamp(3.35rem, 6.1vw, 6.4rem);
}

.site-footer {
  padding: 84px 0 28px;
  background: #100205;
  color: #fff;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr repeat(3, 0.7fr);
  gap: 60px;
}

.dark-brand .brand-name small {
  color: rgba(255, 255, 255, 0.42);
}

.footer-brand > p {
  max-width: 320px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.42);
  font-size: 0.8rem;
  line-height: 1.7;
}

.footer-grid > div:not(.footer-brand) {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  gap: 11px;
}

.footer-grid h3 {
  margin: 0 0 14px;
  color: rgba(255, 255, 255, 0.34);
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.footer-grid a,
.footer-grid span {
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.78rem;
}

.footer-grid a:hover {
  color: var(--amber);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  margin-top: 70px;
  padding-top: 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.3);
  font-size: 0.66rem;
}

.footer-bottom p {
  margin: 0;
}

@media (max-width: 1080px) {
  .header-cta {
    display: none;
  }

  .mobile-nav {
    position: relative;
    display: block;
    justify-self: end;
  }

  .mobile-nav summary {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border: 1px solid rgba(255, 255, 255, 0.38);
    border-radius: 50%;
    cursor: pointer;
    list-style: none;
  }

  .mobile-nav summary::-webkit-details-marker {
    display: none;
  }

  .mobile-nav summary svg {
    width: 18px;
    height: 18px;
  }

  .mobile-nav .menu-close,
  .mobile-nav[open] .menu-open {
    display: none;
  }

  .mobile-nav[open] .menu-close {
    display: block;
  }

  .mobile-nav nav {
    position: absolute;
    top: 54px;
    right: 0;
    display: grid;
    width: min(290px, calc(100vw - 40px));
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 18px;
    background: rgba(25, 3, 8, 0.96);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.34);
    backdrop-filter: blur(18px);
  }

  .mobile-nav nav a {
    padding: 15px 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.78rem;
    font-weight: 700;
  }

  .mobile-nav nav a:last-child {
    border-bottom: 0;
    background: linear-gradient(120deg, var(--wine), var(--orange));
    color: #fff;
  }

  .story,
  .process,
  .quality-grid,
  .contact {
    grid-template-columns: 1fr;
  }

  .story-visual {
    min-height: 560px;
  }

  .partnership {
    grid-template-columns: 0.75fr 1.25fr;
  }

  .partnership-art {
    min-height: 640px;
  }

  .ring-one {
    width: 330px;
    height: 330px;
  }

  .ring-two {
    width: 245px;
    height: 245px;
  }

  .ring-three {
    width: 160px;
    height: 160px;
  }

  .footer-grid {
    grid-template-columns: 1.2fr repeat(3, 0.7fr);
    gap: 34px;
  }
}

@media (max-width: 780px) {
  .story-columns,
  .form-row,
  .split-heading {
    grid-template-columns: 1fr;
  }

  .split-heading > p {
    justify-self: start;
  }

  .portfolio-card,
  .portfolio-card.featured,
  .portfolio-card:nth-child(n + 4) {
    grid-row: auto;
    grid-column: 1 / -1;
    min-height: 320px;
  }

  .partnership {
    grid-template-columns: 1fr;
    width: calc(100% - 32px);
  }

  .partnership-art {
    min-height: 400px;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }

  .process-card {
    grid-template-columns: 46px 1fr;
  }

  .process-card p {
    grid-column: 2;
  }

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

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 540px) {
  .story-copy h2,
  .section-heading h2,
  .partnership h2,
  .quality h2,
  .contact h2,
  .closing-cta h2 {
    font-size: 3.3rem;
  }

  .story-visual {
    min-height: 500px;
  }

  .story-mark {
    top: 36px;
    right: 36px;
    width: 88px;
    height: 104px;
    border-radius: 23px;
  }

  .story-mark img {
    width: 52px;
    height: 72px;
  }

  .story-manifesto,
  .story-values {
    right: 30px;
    left: 30px;
  }

  .story-values {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .portfolio-card {
    padding: 28px;
  }

  .portfolio-card p {
    padding-right: 34px;
  }

  .partnership-copy {
    padding: 42px 28px 54px;
  }

  .partnership-art {
    min-height: 330px;
  }

  .ring-one {
    width: 280px;
    height: 280px;
  }

  .ring-two {
    width: 205px;
    height: 205px;
  }

  .ring-three {
    width: 132px;
    height: 132px;
  }

  .partnership-art > span {
    font-size: 6rem;
  }

  .quality-item {
    grid-template-columns: 44px 1fr;
    gap: 18px;
  }

  .quality-index {
    display: none;
  }

  .contact-form {
    padding: 28px 20px;
  }

  .form-submit {
    align-items: stretch;
    flex-direction: column;
  }

  .form-button {
    width: 100%;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 44px 28px;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }
}

/* Morgan Mor Flex Lens detail page */

.product-page {
  background: var(--ivory);
}

.product-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 96px;
}

.product-brand {
  color: var(--ink);
}

.product-brand .brand-name small {
  color: var(--muted);
}

.product-back {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--wine);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.05em;
}

.product-back svg {
  width: 16px;
  height: 16px;
}

.product-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(70px, 8vw, 118px) 0;
  border-radius: 0 0 42px 42px;
  background:
    radial-gradient(
      circle at 72% 38%,
      rgba(243, 143, 39, 0.24),
      transparent 30%
    ),
    linear-gradient(128deg, #190207, #4d0817 62%, #7e0d2c);
  color: #fff;
}

.product-hero::before {
  position: absolute;
  right: -280px;
  bottom: -420px;
  width: 780px;
  height: 780px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  content: '';
}

.product-hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 80px;
  align-items: center;
}

.product-category {
  margin: 0 0 14px;
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.product-hero h1 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(4.3rem, 7.5vw, 7.7rem);
  font-weight: 400;
  letter-spacing: -0.052em;
  line-height: 0.82;
}

.product-hero h1 em {
  color: var(--amber);
  font-weight: 400;
}

.product-lead {
  max-width: 610px;
  margin: 36px 0 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 1.08rem;
  line-height: 1.76;
}

.product-actions,
.product-assurance {
  display: flex;
  align-items: center;
  gap: 26px;
}

.product-actions {
  margin-top: 38px;
}

.product-assurance {
  margin-top: 34px;
  color: rgba(255, 255, 255, 0.44);
  font-size: 0.72rem;
}

.product-assurance span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.product-assurance svg {
  width: 13px;
  height: 13px;
  color: var(--amber);
}

.product-orb {
  position: relative;
  min-height: 560px;
}

.product-orb::before {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 390px;
  height: 390px;
  border-radius: 50%;
  background: rgba(247, 157, 63, 0.22);
  filter: blur(80px);
  content: '';
  transform: translate(-50%, -50%);
}

.product-orb-ring,
.product-orb-core {
  position: absolute;
  top: 50%;
  left: 50%;
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.product-orb-ring {
  border: 1px solid rgba(255, 221, 178, 0.32);
}

.ring-a {
  width: 500px;
  height: 500px;
}

.ring-b {
  width: 380px;
  height: 380px;
}

.ring-c {
  width: 270px;
  height: 270px;
}

.product-orb-core {
  display: grid;
  place-items: center;
  width: 178px;
  height: 178px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: radial-gradient(
    circle at 35% 28%,
    rgba(255, 221, 176, 0.24),
    rgba(255, 255, 255, 0.04) 58%
  );
  box-shadow:
    inset 0 0 36px rgba(255, 255, 255, 0.08),
    0 20px 60px rgba(0, 0, 0, 0.16);
  backdrop-filter: blur(12px);
}

.product-orb-core svg {
  width: 40px;
  height: 40px;
  color: var(--amber);
  stroke-width: 1.3;
}

.product-orb-core span {
  margin-top: -28px;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-style: italic;
}

.product-details {
  display: grid;
  grid-template-columns: 0.86fr 1.14fr;
  gap: clamp(70px, 10vw, 150px);
  align-items: start;
}

.product-details h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 5.3vw, 5.6rem);
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 0.9;
}

.product-details h2 em {
  color: var(--orange);
  font-weight: 400;
}

.product-details-copy > p:not(.section-kicker) {
  margin: 34px 0 0;
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.78;
}

.product-credential-list {
  display: grid;
}

.product-credential-list article {
  display: grid;
  grid-template-columns: 38px 54px 1fr;
  gap: 22px;
  align-items: start;
  padding: 34px 0;
  border-top: 1px solid var(--line);
}

.product-credential-list article:last-child {
  border-bottom: 1px solid var(--line);
}

.product-credential-number {
  padding-top: 14px;
  color: var(--orange);
  font-size: 0.65rem;
  font-weight: 800;
}

.product-credential-icon {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: #f4e4d3;
  color: var(--wine);
}

.product-credential-icon svg {
  width: 20px;
  height: 20px;
}

.product-credential-list h3 {
  margin: 5px 0 10px;
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 500;
}

.product-credential-list p {
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.7;
}

.product-ordering {
  background: var(--wine-dark);
  color: #fff;
}

.product-ordering-heading > p {
  color: rgba(255, 255, 255, 0.56);
}

.product-order-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.product-order-grid article {
  min-height: 300px;
  padding: 34px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.055);
}

.product-order-grid article > span {
  color: var(--amber);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.product-order-grid h3 {
  margin: 86px 0 16px;
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 500;
  line-height: 1.08;
}

.product-order-grid p {
  margin: 0;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.85rem;
  line-height: 1.72;
}

.product-cta {
  padding: clamp(80px, 9vw, 128px) 0;
  background: linear-gradient(120deg, #8b102e, #5b071b 55%, #240309);
  color: #fff;
  text-align: center;
}

.product-cta-inner {
  display: grid;
  justify-items: center;
}

.product-cta p {
  margin: 0 0 22px;
  color: var(--amber);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.product-cta h2 {
  max-width: 850px;
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(3.2rem, 5.3vw, 5.6rem);
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 0.94;
}

.product-footer {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  padding-block: 32px;
  color: var(--muted);
  font-size: 0.68rem;
  line-height: 1.6;
}

.product-footer a {
  color: var(--wine);
  font-weight: 800;
  white-space: nowrap;
}

.product-footer p {
  max-width: 600px;
  margin: 0;
  text-align: right;
}

@media (max-width: 960px) {
  .product-hero-grid,
  .product-details {
    grid-template-columns: 1fr;
  }

  .product-orb {
    min-height: 480px;
  }
}

@media (max-width: 720px) {
  .product-header {
    min-height: 78px;
  }

  .product-back {
    font-size: 0;
  }

  .product-back svg {
    width: 20px;
    height: 20px;
  }

  .product-hero {
    border-radius: 0 0 26px 26px;
  }

  .product-actions,
  .product-assurance {
    align-items: stretch;
    flex-direction: column;
    gap: 12px;
  }

  .product-actions .text-link {
    align-self: center;
  }

  .product-orb {
    min-height: 370px;
  }

  .ring-a {
    width: 340px;
    height: 340px;
  }

  .ring-b {
    width: 255px;
    height: 255px;
  }

  .ring-c {
    width: 180px;
    height: 180px;
  }

  .product-orb-core {
    width: 124px;
    height: 124px;
  }

  .product-order-grid {
    grid-template-columns: 1fr;
  }

  .product-order-grid article {
    min-height: 260px;
  }

  .product-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .product-footer p {
    text-align: left;
  }
}
