@font-face {
  font-family: "Alexandria";
  src: url("./assets/fonts/alexandria-arabic.woff2") format("woff2");
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC;
}

@font-face {
  font-family: "Alexandria";
  src: url("./assets/fonts/alexandria-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  unicode-range: U+0000-00FF, U+2000-206F;
}

:root {
  --ink: #21131a;
  --muted: #756069;
  --wine: #4b1a2f;
  --wine-2: #36101f;
  --wine-3: #250a14;
  --rose: #b7778d;
  --gold: #c69b73;
  --gold-soft: #e3c5aa;
  --paper: #f5efeb;
  --paper-2: #fbf8f5;
  --white: #fffaf8;
  --line: rgba(75, 26, 47, 0.14);
  --shadow: 0 22px 60px rgba(46, 13, 28, 0.13);
  --radius: 30px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  width: 100%;
  overflow-x: clip;
  scroll-behavior: smooth;
  background: var(--paper);
}

body {
  width: 100%;
  min-width: 0;
  min-height: 100vh;
  margin: 0;
  overflow-x: clip;
  color: var(--ink);
  background:
    radial-gradient(circle at 5% 12%, rgba(199, 148, 164, 0.2), transparent 24rem),
    linear-gradient(145deg, var(--paper-2), var(--paper) 55%, #eadedc);
  font-family: "Alexandria", Tahoma, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: "";
  position: fixed;
  z-index: 30;
  inset: 0;
  pointer-events: none;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.6'/%3E%3C/svg%3E");
}

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

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

button,
input {
  font: inherit;
}

.topbar,
.hero-shell,
.section-shell {
  width: min(1120px, calc(100% - 40px));
  margin-inline: auto;
}

.topbar {
  position: sticky;
  z-index: 20;
  top: 0;
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  background: rgba(247, 242, 238, 0.78);
  backdrop-filter: blur(18px) saturate(135%);
  transition: min-height 220ms ease, background 220ms ease;
}

.topbar.is-compact {
  min-height: 64px;
  background: rgba(247, 242, 238, 0.94);
}

.brand {
  display: inline-flex;
  align-items: center;
  direction: ltr;
  gap: 10px;
}

.brand img {
  width: 42px;
  height: 42px;
  object-fit: contain;
}

.brand > span {
  display: grid;
  gap: 1px;
}

.brand b {
  font-size: 0.91rem;
  letter-spacing: 0.2em;
}

.brand small {
  color: var(--rose);
  font-size: 0.62rem;
  letter-spacing: 0.14em;
}

.location {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--muted);
  font-size: 0.84rem;
}

.location svg {
  width: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
}

.hero-shell {
  min-height: 720px;
  display: grid;
  direction: ltr;
  grid-template-columns: 0.92fr 1.08fr;
  gap: clamp(42px, 7vw, 90px);
  align-items: center;
  padding: 46px 0 68px;
}

.hero-photo {
  position: relative;
  grid-column: 1;
  height: 650px;
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: 150px 150px 34px 34px;
  background: #d8c5bf;
  box-shadow: 0 38px 80px rgba(48, 16, 30, 0.23);
  isolation: isolate;
}

.hero-photo::before,
.hero-photo::after {
  content: "";
  position: absolute;
  z-index: 2;
  pointer-events: none;
}

.hero-photo::before {
  inset: 15px;
  border: 1px solid rgba(255, 255, 255, 0.56);
  border-radius: 136px 136px 26px 26px;
}

.hero-photo::after {
  width: 9px;
  height: 9px;
  top: 92px;
  right: 30px;
  border-radius: 50%;
  background: var(--white);
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.95);
}

.hero-photo > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 22%;
  transform: scale(1.018);
  animation: hero-breathe 10s ease-in-out infinite alternate;
}

.hero-shade {
  position: absolute;
  z-index: 1;
  inset: 0;
  background:
    linear-gradient(180deg, transparent 48%, rgba(30, 8, 17, 0.14) 68%, rgba(29, 7, 16, 0.86) 100%),
    linear-gradient(90deg, rgba(51, 19, 30, 0.12), transparent 32%);
}

.photo-note {
  position: absolute;
  z-index: 3;
  direction: ltr;
  top: 28px;
  left: 31px;
  display: grid;
  gap: 4px;
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.58rem;
  letter-spacing: 0.18em;
}

.photo-note b {
  color: var(--gold-soft);
  font-size: 0.5rem;
  letter-spacing: 0.28em;
}

.hero-actions {
  position: absolute;
  z-index: 5;
  bottom: 22px;
  left: 50%;
  width: calc(100% - 38px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
  direction: rtl;
  transform: translateX(-50%);
}

.hero-action {
  position: relative;
  min-width: 0;
  min-height: 76px;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) 17px;
  align-items: center;
  gap: 9px;
  overflow: hidden;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.36);
  border-radius: 22px 9px 22px 9px;
  box-shadow: 0 16px 35px rgba(25, 6, 14, 0.25);
  backdrop-filter: blur(17px) saturate(140%);
  transition: transform 180ms ease, border-radius 180ms ease, box-shadow 180ms ease;
}

.hero-action::after {
  content: "";
  position: absolute;
  width: 55px;
  height: 55px;
  top: -33px;
  left: -26px;
  border: 1px solid currentColor;
  border-radius: 50%;
  opacity: 0.16;
}

.hero-action:hover {
  transform: translateY(-4px);
  border-radius: 9px 22px 9px 22px;
  box-shadow: 0 21px 42px rgba(25, 6, 14, 0.34);
}

.hero-action:active {
  transform: scale(0.98);
}

.hero-action-primary {
  color: var(--white);
  background: linear-gradient(135deg, rgba(95, 31, 56, 0.97), rgba(49, 12, 27, 0.96));
}

.hero-action-secondary {
  color: var(--wine-2);
  background: rgba(255, 250, 248, 0.91);
}

.action-orb {
  width: 41px;
  height: 41px;
  display: grid;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 50%;
  opacity: 0.92;
}

.action-orb svg {
  width: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.45;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hero-action > span:nth-child(2) {
  min-width: 0;
  display: grid;
  gap: 3px;
}

.hero-action small {
  overflow: hidden;
  opacity: 0.66;
  font-size: 0.6rem;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.hero-action b {
  overflow: hidden;
  font-size: 0.77rem;
  font-weight: 620;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.link-arrow {
  width: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hero-copy {
  grid-column: 2;
  max-width: 610px;
  direction: rtl;
}

.eyebrow {
  margin: 0 0 15px;
  direction: ltr;
  color: var(--rose);
  font-size: 0.7rem;
  font-weight: 650;
  letter-spacing: 0.17em;
  text-align: right;
}

h1,
h2,
p {
  text-wrap: pretty;
}

h1 {
  max-width: 650px;
  margin: 0;
  color: var(--wine-2);
  font-size: clamp(3rem, 5.2vw, 5.35rem);
  font-weight: 560;
  line-height: 1.16;
  letter-spacing: -0.045em;
}

.hero-lead {
  max-width: 34rem;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 1rem;
  font-weight: 350;
  line-height: 1.95;
}

.hero-proof {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 20px;
  color: var(--wine);
}

.hero-proof strong {
  font-size: 1.55rem;
}

.hero-proof span {
  font-size: 0.86rem;
  font-weight: 550;
}

.accounts-section,
.gallery-section {
  padding-block: 82px;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 30px;
}

.section-heading .eyebrow {
  margin-bottom: 8px;
}

.section-heading h2,
.expertise-copy h2,
.portfolio-heading h1 {
  margin: 0;
  color: var(--wine-2);
  font-size: clamp(1.8rem, 3vw, 3rem);
  font-weight: 560;
  line-height: 1.35;
  letter-spacing: -0.035em;
}

.section-heading > p {
  max-width: 28rem;
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.75;
}

.account-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.account-card {
  position: relative;
  min-width: 0;
  min-height: 94px;
  display: grid;
  grid-template-columns: 53px minmax(0, 1fr) 28px;
  align-items: center;
  gap: 13px;
  overflow: hidden;
  padding: 15px 16px;
  border: 1px solid rgba(75, 26, 47, 0.13);
  border-radius: 18px 30px 18px 30px;
  background: rgba(255, 252, 249, 0.72);
  box-shadow: 0 14px 35px rgba(58, 18, 34, 0.06);
  backdrop-filter: blur(12px);
  transition: transform 180ms ease, border-radius 180ms ease, box-shadow 180ms ease;
}

.account-card::before {
  content: "";
  position: absolute;
  inset-block: 15px;
  right: 0;
  width: 3px;
  border-radius: 3px 0 0 3px;
  background: var(--card-accent, var(--rose));
}

.account-card:hover {
  transform: translateY(-5px);
  border-radius: 30px 18px 30px 18px;
  box-shadow: var(--shadow);
}

.account-card.instagram { --card-accent: linear-gradient(#7b2fbf, #e04b76, #efae3e); }
.account-card.tiktok { --card-accent: #20131a; }
.account-card.snapchat { --card-accent: #e3bf25; }

.account-icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 18px;
  color: var(--wine);
  background: rgba(235, 216, 219, 0.5);
}

.account-icon svg {
  width: 23px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.account-icon .fill {
  fill: currentColor;
  stroke: none;
}

.account-card > span:nth-child(2) {
  min-width: 0;
  display: grid;
  gap: 4px;
}

.account-card b {
  font-size: 0.95rem;
  font-weight: 620;
}

.account-card small {
  overflow: hidden;
  color: var(--muted);
  font-size: 0.71rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.open-mark {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
}

.open-mark svg {
  width: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.expertise {
  position: relative;
  min-height: 350px;
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  align-items: center;
  gap: 50px;
  overflow: hidden;
  padding: clamp(40px, 7vw, 78px);
  border-radius: 48px 20px 48px 20px;
  color: var(--white);
  background:
    radial-gradient(circle at 12% 15%, rgba(203, 150, 116, 0.23), transparent 18rem),
    linear-gradient(135deg, var(--wine), var(--wine-3));
  box-shadow: 0 28px 70px rgba(49, 13, 27, 0.21);
}

.expertise::after {
  content: "";
  position: absolute;
  width: 280px;
  height: 280px;
  left: -110px;
  bottom: -190px;
  border: 1px solid rgba(227, 197, 170, 0.23);
  border-radius: 50%;
  box-shadow: 0 0 0 28px rgba(227, 197, 170, 0.035), 0 0 0 62px rgba(227, 197, 170, 0.025);
}

.expertise-number {
  position: relative;
  z-index: 1;
  direction: ltr;
  display: grid;
  justify-items: center;
  border-left: 1px solid rgba(255, 255, 255, 0.16);
}

.expertise-number strong {
  font-size: clamp(4.5rem, 9vw, 7.8rem);
  font-weight: 520;
  line-height: 0.95;
  letter-spacing: -0.08em;
}

.expertise-number span {
  margin-top: 12px;
  color: var(--gold-soft);
  font-size: 0.65rem;
  letter-spacing: 0.3em;
}

.expertise-copy {
  position: relative;
  z-index: 1;
}

.expertise-copy .eyebrow {
  color: var(--gold-soft);
}

.expertise-copy h2 {
  color: var(--white);
}

.expertise-copy > p:not(.eyebrow) {
  max-width: 42rem;
  margin: 16px 0 0;
  color: rgba(255, 250, 248, 0.72);
  font-size: 0.93rem;
  line-height: 1.95;
}

.expertise-copy ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.expertise-copy li {
  padding: 9px 14px;
  border: 1px solid rgba(255, 255, 255, 0.19);
  border-radius: 999px;
  color: rgba(255, 250, 248, 0.88);
  font-size: 0.75rem;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--wine);
  font-size: 0.82rem;
  font-weight: 600;
}

.text-link span {
  transition: transform 180ms ease;
}

.text-link svg {
  width: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.text-link:hover span {
  transform: translateX(-4px);
}

.editorial-gallery {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: 168px;
  gap: 13px;
}

.gallery-card {
  position: relative;
  grid-column: span 3;
  grid-row: span 2;
  min-width: 0;
  overflow: hidden;
  border-radius: 22px;
  background: #d8c7c3;
  isolation: isolate;
}

.gallery-card-feature {
  grid-column: span 6;
  grid-row: span 4;
  border-radius: 48px 20px 48px 20px;
}

.gallery-card-wide {
  grid-column: span 6;
}

.gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 650ms cubic-bezier(0.2, 0.75, 0.25, 1), filter 300ms ease;
}

.gallery-card:nth-child(2) img { object-position: center 26%; }
.gallery-card:nth-child(4) img { object-position: center 28%; }

.gallery-open {
  position: absolute;
  z-index: 2;
  top: 13px;
  left: 13px;
  width: 35px;
  height: 35px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 50%;
  color: #fff;
  background: rgba(37, 10, 20, 0.34);
  font-size: 0.85rem;
  backdrop-filter: blur(8px);
  opacity: 0;
  transform: translateY(-7px);
  transition: opacity 200ms ease, transform 200ms ease;
}

.gallery-open svg {
  width: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.gallery-tag {
  position: absolute;
  z-index: 2;
  right: 14px;
  bottom: 13px;
  direction: ltr;
  padding: 7px 10px;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 999px;
  color: #fff;
  background: rgba(37, 10, 20, 0.33);
  font-size: 0.54rem;
  letter-spacing: 0.17em;
  backdrop-filter: blur(8px);
}

.gallery-card:hover img {
  transform: scale(1.045);
  filter: saturate(1.05) contrast(1.03);
}

.gallery-card:hover .gallery-open {
  opacity: 1;
  transform: translateY(0);
}

.gallery-button {
  width: min(420px, 100%);
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin: 28px auto 0;
  padding: 12px 14px 12px 22px;
  border: 1px solid var(--line);
  border-radius: 24px 10px 24px 10px;
  color: var(--wine-2);
  background: rgba(255, 251, 248, 0.75);
  box-shadow: 0 15px 35px rgba(60, 20, 36, 0.08);
  transition: transform 180ms ease, border-radius 180ms ease, box-shadow 180ms ease;
}

.gallery-button:hover {
  transform: translateY(-3px);
  border-radius: 10px 24px 10px 24px;
  box-shadow: var(--shadow);
}

.gallery-button > span:first-child {
  display: grid;
  gap: 3px;
}

.gallery-button small {
  color: var(--muted);
  font-size: 0.65rem;
}

.gallery-button b {
  font-size: 0.92rem;
}

.gallery-button-arrow {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 18px 8px 18px 8px;
  color: var(--white);
  background: var(--wine);
}

.gallery-button-arrow svg {
  width: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.video-section {
  width: 100%;
  margin-top: 30px;
  overflow: clip;
}

.video-link {
  position: relative;
  width: 100%;
  height: min(68vh, 720px);
  min-height: 500px;
  display: block;
  overflow: hidden;
  border-radius: 52px 52px 0 0;
  background: var(--wine-3);
  isolation: isolate;
}

.ambient-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
  opacity: 0.78;
  filter: saturate(0.82) contrast(1.05);
  transition: transform 900ms cubic-bezier(0.2, 0.75, 0.25, 1), opacity 300ms ease;
}

.video-link:hover .ambient-video {
  transform: scale(1.025);
  opacity: 0.9;
}

.video-fade {
  position: absolute;
  z-index: 1;
  inset: 0;
  background:
    linear-gradient(180deg, var(--paper) 0%, rgba(245, 239, 235, 0.16) 18%, transparent 42%),
    linear-gradient(180deg, transparent 50%, rgba(29, 7, 16, 0.9) 100%);
}

.video-copy {
  position: absolute;
  z-index: 2;
  right: 50%;
  bottom: clamp(34px, 6vw, 72px);
  display: grid;
  justify-items: center;
  gap: 8px;
  color: var(--white);
  text-align: center;
  transform: translateX(50%);
}

.video-copy small {
  color: var(--gold-soft);
  font-size: 0.62rem;
  letter-spacing: 0.24em;
}

.video-copy b {
  font-size: clamp(1.15rem, 2.5vw, 2rem);
  font-weight: 520;
}

.video-copy i {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  margin-top: 4px;
  border: 1px solid rgba(255, 255, 255, 0.46);
  border-radius: 50%;
  font-style: normal;
  backdrop-filter: blur(10px);
}

.video-copy i svg {
  width: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.site-footer {
  min-height: 130px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.site-footer > div {
  direction: ltr;
  display: grid;
  gap: 5px;
}

.site-footer > div b {
  font-size: 0.76rem;
  letter-spacing: 0.17em;
}

.site-footer > div small {
  color: var(--muted);
  font-size: 0.68rem;
}

.site-footer > a {
  direction: ltr;
  display: grid;
  gap: 4px;
  text-align: left;
  opacity: 0.64;
  transition: opacity 180ms ease;
}

.site-footer > a:hover {
  opacity: 1;
}

.site-footer > a span {
  color: var(--muted);
  font-size: 0.48rem;
  letter-spacing: 0.16em;
}

.site-footer > a strong {
  color: var(--wine);
  font-size: 0.64rem;
  letter-spacing: 0.08em;
}

.js .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 700ms ease, transform 700ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* Work page */
.portfolio-page {
  background: linear-gradient(145deg, #f9f5f1, #eee3e0);
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--wine);
  font-size: 0.78rem;
  font-weight: 600;
}

.back-link svg {
  width: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.portfolio-main {
  width: min(1120px, calc(100% - 40px));
  margin-inline: auto;
  padding: 34px 0 80px;
}

.portfolio-cover {
  position: relative;
  height: min(74vh, 720px);
  min-height: 560px;
  overflow: hidden;
  border-radius: 48px 20px 48px 20px;
  background: #d2c0bb;
  box-shadow: var(--shadow);
  isolation: isolate;
}

.portfolio-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 26%;
}

.portfolio-cover::after {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 0;
  background: linear-gradient(180deg, transparent 35%, rgba(35, 8, 18, 0.86));
}

.portfolio-heading {
  position: absolute;
  z-index: 2;
  right: clamp(24px, 6vw, 72px);
  bottom: clamp(24px, 6vw, 64px);
  color: white;
}

.portfolio-heading .eyebrow,
.portfolio-heading h1 {
  color: white;
}

.portfolio-heading > p:last-child {
  margin: 12px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.85rem;
}

.portfolio-intro {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  padding: 72px 0 28px;
}

.portfolio-intro h2 {
  margin: 0;
  color: var(--wine-2);
  font-size: clamp(1.8rem, 3vw, 3rem);
  font-weight: 560;
}

.portfolio-intro > p {
  max-width: 30rem;
  margin: 0;
  color: var(--muted);
  font-size: 0.85rem;
  line-height: 1.8;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: 150px;
  gap: 13px;
}

.portfolio-card {
  position: relative;
  grid-column: span 4;
  grid-row: span 3;
  overflow: hidden;
  border-radius: 24px;
  background: #d4c1bd;
  isolation: isolate;
}

.portfolio-card:nth-child(1),
.portfolio-card:nth-child(6) {
  grid-column: span 8;
  grid-row: span 4;
  border-radius: 45px 20px 45px 20px;
}

.portfolio-card:nth-child(4),
.portfolio-card:nth-child(9) {
  grid-row: span 4;
}

.portfolio-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 650ms cubic-bezier(0.2, 0.75, 0.25, 1);
}

.portfolio-card:nth-child(1) img { object-position: center 18%; }
.portfolio-card:nth-child(2) img { object-position: center 36%; }
.portfolio-card:nth-child(3) img { object-position: center 30%; }
.portfolio-card:nth-child(4) img { object-position: center 18%; }
.portfolio-card:nth-child(5) img { object-position: center 42%; }
.portfolio-card:nth-child(6) img { object-position: center 22%; }
.portfolio-card:nth-child(7) img { object-position: center 22%; }
.portfolio-card:nth-child(8) img,
.portfolio-card:nth-child(9) img { object-position: center 20%; }

.post-link-label {
  position: absolute;
  z-index: 2;
  right: 14px;
  bottom: 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 11px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  color: #fff;
  background: rgba(39, 10, 21, 0.42);
  font-size: 0.62rem;
  backdrop-filter: blur(8px);
}

.post-link-label svg {
  width: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.portfolio-card:hover img {
  transform: scale(1.045);
}

.portfolio-cta {
  width: min(580px, 100%);
  display: grid;
  justify-items: center;
  gap: 14px;
  margin: 70px auto 0;
  padding: 44px 24px;
  border-radius: 34px 15px 34px 15px;
  color: var(--white);
  text-align: center;
  background: linear-gradient(135deg, var(--wine), var(--wine-3));
}

.portfolio-cta h2 {
  margin: 0;
  font-size: 1.65rem;
  font-weight: 550;
}

.portfolio-cta p {
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.82rem;
}

.portfolio-cta a {
  min-height: 58px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 7px;
  padding: 12px 28px;
  border-radius: 18px 8px 18px 8px;
  color: var(--wine-2);
  background: var(--white);
  font-size: 0.83rem;
  font-weight: 650;
}

@keyframes hero-breathe {
  from { transform: scale(1.018); }
  to { transform: scale(1.052); }
}

@media (max-width: 900px) {
  .hero-shell {
    gap: 28px;
  }

  .hero-photo {
    height: 590px;
  }

  .hero-actions {
    grid-template-columns: 1fr;
  }

  .hero-action {
    min-height: 67px;
  }

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

  .expertise {
    grid-template-columns: 0.7fr 1.3fr;
  }
}

@media (max-width: 720px) {
  :root { --radius: 24px; }

  body {
    background: linear-gradient(160deg, #faf6f3, #f0e6e2 58%, #eadbd8);
  }

  .topbar,
  .section-shell,
  .portfolio-main {
    width: calc(100% - 24px);
  }

  .topbar {
    min-height: 66px;
    padding-inline: 2px;
  }

  .brand img {
    width: 38px;
    height: 38px;
  }

  .brand b { font-size: 0.78rem; }
  .brand small { font-size: 0.52rem; }
  .location { font-size: 0.76rem; }

  .hero-shell {
    position: relative;
    width: 100%;
    min-height: 0;
    display: block;
    padding: 0 10px 28px;
  }

  .hero-photo {
    width: 100%;
    height: calc(100svh - 66px);
    min-height: 590px;
    max-height: 730px;
    border-radius: 0 0 34px 34px;
    box-shadow: 0 24px 50px rgba(48, 16, 30, 0.2);
  }

  .hero-photo::before {
    inset: 11px;
    border-radius: 0 0 26px 26px;
  }

  .hero-photo::after {
    top: 24px;
    right: 24px;
  }

  .hero-photo > img {
    object-position: center 17%;
  }

  .photo-note {
    top: 20px;
    left: 22px;
  }

  .hero-copy {
    position: absolute;
    z-index: 4;
    right: 29px;
    bottom: 174px;
    width: calc(100% - 58px);
    max-width: 410px;
    color: white;
  }

  .hero-copy .eyebrow {
    margin-bottom: 9px;
    color: var(--gold-soft);
    font-size: 0.58rem;
  }

  h1 {
    color: white;
    font-size: clamp(2rem, 9.8vw, 2.75rem);
    line-height: 1.19;
    text-shadow: 0 4px 24px rgba(26, 5, 14, 0.36);
  }

  .hero-lead,
  .hero-proof {
    display: none;
  }

  .hero-actions {
    bottom: 20px;
    width: calc(100% - 24px);
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .hero-action {
    min-height: 70px;
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 9px;
    padding: 9px 10px;
    border-radius: 20px 8px 20px 8px;
  }

  .hero-action .link-arrow {
    display: none;
  }

  .action-orb {
    width: 38px;
    height: 38px;
  }

  .hero-action b { font-size: 0.78rem; }
  .hero-action small { font-size: 0.56rem; }

  .accounts-section,
  .gallery-section {
    padding-block: 54px;
  }

  .section-heading {
    display: grid;
    gap: 9px;
    margin-bottom: 20px;
  }

  .section-heading > p {
    max-width: 22rem;
    font-size: 0.78rem;
  }

  .section-heading h2,
  .expertise-copy h2,
  .portfolio-heading h1 {
    font-size: 1.75rem;
  }

  .account-grid {
    gap: 9px;
  }

  .account-card {
    min-height: 82px;
    grid-template-columns: 47px minmax(0, 1fr) 30px;
    padding: 12px 13px;
    border-radius: 16px 26px 16px 26px;
    background: rgba(255, 252, 249, 0.82);
  }

  .account-icon {
    width: 46px;
    height: 46px;
    border-radius: 15px;
  }

  .account-card b { font-size: 0.91rem; }
  .account-card small { font-size: 0.68rem; }

  .expertise {
    min-height: 0;
    grid-template-columns: 1fr;
    gap: 22px;
    padding: 34px 24px;
    border-radius: 35px 16px 35px 16px;
  }

  .expertise-number {
    justify-items: start;
    border-left: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
    padding-bottom: 21px;
  }

  .expertise-number strong {
    font-size: 4.3rem;
  }

  .expertise-copy > p:not(.eyebrow) {
    font-size: 0.83rem;
  }

  .expertise-copy li {
    padding: 8px 11px;
    font-size: 0.68rem;
  }

  .gallery-section .section-heading {
    grid-template-columns: 1fr auto;
    align-items: end;
  }

  .gallery-section .section-heading > div {
    min-width: 0;
  }

  .text-link {
    font-size: 0.73rem;
    white-space: nowrap;
  }

  .editorial-gallery {
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: 170px;
    gap: 8px;
  }

  .gallery-card,
  .gallery-card-feature,
  .gallery-card-wide {
    grid-column: span 1;
    grid-row: span 1;
    border-radius: 17px;
  }

  .gallery-card-feature {
    grid-row: span 2;
    border-radius: 28px 14px 28px 14px;
  }

  .gallery-card-wide {
    grid-column: span 2;
  }

  .gallery-open {
    opacity: 1;
    transform: none;
    width: 31px;
    height: 31px;
    top: 10px;
    left: 10px;
  }

  .gallery-tag {
    right: 10px;
    bottom: 9px;
    padding: 6px 8px;
    font-size: 0.48rem;
  }

  .gallery-button {
    min-height: 72px;
    margin-top: 16px;
  }

  .video-section {
    margin-top: 10px;
  }

  .video-link {
    height: 62svh;
    min-height: 470px;
    max-height: 650px;
    border-radius: 34px 34px 0 0;
  }

  .ambient-video {
    object-position: center center;
  }

  .video-copy {
    width: calc(100% - 40px);
    bottom: 42px;
  }

  .video-copy b {
    font-size: 1.12rem;
  }

  .site-footer {
    min-height: 120px;
    align-items: center;
  }

  .site-footer > div b { font-size: 0.62rem; }
  .site-footer > div small { font-size: 0.58rem; }
  .site-footer > a span { font-size: 0.42rem; }
  .site-footer > a strong { font-size: 0.55rem; }

  .portfolio-main {
    padding-top: 12px;
  }

  .portfolio-cover {
    height: calc(100svh - 90px);
    min-height: 550px;
    max-height: 720px;
    border-radius: 12px 12px 34px 34px;
  }

  .portfolio-cover img {
    object-position: center 18%;
  }

  .portfolio-heading {
    right: 22px;
    bottom: 28px;
  }

  .portfolio-intro {
    display: grid;
    gap: 10px;
    padding: 48px 0 20px;
  }

  .portfolio-intro h2 { font-size: 1.72rem; }
  .portfolio-intro > p { font-size: 0.76rem; }

  .portfolio-grid {
    display: block;
    columns: 2;
    column-gap: 8px;
    direction: rtl;
  }

  .portfolio-card,
  .portfolio-card:nth-child(1),
  .portfolio-card:nth-child(4),
  .portfolio-card:nth-child(6),
  .portfolio-card:nth-child(9) {
    width: 100%;
    display: inline-block;
    break-inside: avoid;
    margin: 0 0 8px;
    border-radius: 17px;
  }

  .portfolio-card:nth-child(1) {
    border-radius: 29px 14px 29px 14px;
  }

  .portfolio-card img {
    height: auto;
    object-fit: contain;
    object-position: center;
  }

  .post-link-label {
    right: 9px;
    bottom: 9px;
    padding: 6px 8px;
    font-size: 0.52rem;
  }
}

@media (max-width: 360px) {
  .topbar,
  .section-shell,
  .portfolio-main {
    width: calc(100% - 18px);
  }

  .brand span { display: none; }

  .hero-shell {
    padding-inline: 7px;
  }

  .hero-copy {
    right: 23px;
    width: calc(100% - 46px);
  }

  .hero-actions {
    width: calc(100% - 18px);
  }

  .hero-action {
    grid-template-columns: 35px minmax(0, 1fr);
    gap: 6px;
    padding-inline: 7px;
  }

  .action-orb {
    width: 35px;
    height: 35px;
  }

  .hero-action small { display: none; }
  .hero-action b { font-size: 0.71rem; }

  .editorial-gallery {
    grid-auto-rows: 160px;
  }

  .site-footer > div { display: none; }
  .site-footer { justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
