/* Hamzah Masterpiece v17: one local visual authority for three distinct sites. */
:root {
  --font-sans: Arial, "Helvetica Neue", sans-serif;
  --font-display: Georgia, "Times New Roman", serif;
  --portfolio-ink: #080a09;
  --portfolio-soft: #121715;
  --portfolio-paper: #f2f1e8;
  --portfolio-white: #fffef7;
  --portfolio-acid: #c7f25a;
  --portfolio-cobalt: #2d51e5;
  --portfolio-coral: #f26a4f;
  --portfolio-muted: #a8b0aa;
  --line-dark: #2c342f;
  --line-light: #c8c9bf;
  --danger: #a8322d;
  --success: #2f6f4d;
  --header-height: 76px;
  --page-gutter: 38px;
  --page-max: 1540px;
  color-scheme: dark;
  font-family: var(--font-sans);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

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

html {
  scroll-behavior: smooth;
  background: var(--portfolio-ink);
}

body {
  margin: 0;
  min-width: 0;
  overflow-x: clip;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.55;
  letter-spacing: 0;
}

body.menu-open {
  overflow: hidden;
}

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

img {
  height: auto;
}

img.media-failed {
  opacity: 0 !important;
}

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

button,
input,
select,
textarea {
  color: inherit;
  font: inherit;
  letter-spacing: 0;
}

button,
a,
input,
select,
textarea {
  -webkit-tap-highlight-color: transparent;
}

button,
.btn,
.showcase-btn,
.nav-cta {
  min-height: 44px;
}

:focus-visible {
  outline: 3px solid var(--portfolio-cobalt);
  outline-offset: 4px;
}

::selection {
  background: var(--portfolio-acid);
  color: var(--portfolio-ink);
}

[hidden] {
  display: none !important;
}

.skip-link,
.showcase-skip {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 9999;
  padding: 10px 14px;
  transform: translateY(-160%);
  border: 2px solid #000;
  background: #fff;
  color: #000;
  font-weight: 700;
}

.skip-link:focus,
.showcase-skip:focus {
  transform: translateY(0);
}

.sr-only,
.showcase-honeypot {
  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;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  letter-spacing: 0;
  text-wrap: balance;
}

p {
  text-wrap: pretty;
}

section {
  scroll-margin-top: calc(var(--header-height) + 18px);
}

.page-shell {
  width: min(calc(100% - (var(--page-gutter) * 2)), var(--page-max));
  margin-inline: auto;
}

.eyebrow,
.showcase-kicker,
.plan-tag,
.plan-recommendation {
  display: block;
  margin-bottom: 16px;
  font-size: 0.72rem;
  font-weight: 800;
  line-height: 1.25;
  text-transform: uppercase;
}

.btn,
.showcase-btn,
.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 18px;
  border: 1px solid currentColor;
  border-radius: 2px;
  cursor: pointer;
  font-size: 0.84rem;
  font-weight: 800;
  line-height: 1;
  transition: transform 180ms ease, background-color 180ms ease, color 180ms ease, border-color 180ms ease;
}

.btn:hover,
.showcase-btn:hover,
.nav-cta:hover {
  transform: translateY(-2px);
}

.btn:active,
.showcase-btn:active,
.nav-cta:active {
  transform: translateY(0);
}

.btn-primary {
  border-color: var(--portfolio-acid);
  background: var(--portfolio-acid);
  color: var(--portfolio-ink);
}

.btn-primary:hover {
  border-color: var(--portfolio-white);
  background: var(--portfolio-white);
}

.btn-quiet {
  border-color: rgba(255, 255, 255, 0.46);
  background: rgba(8, 10, 9, 0.5);
  color: var(--portfolio-white);
}

.btn-quiet:hover {
  border-color: var(--portfolio-white);
  background: var(--portfolio-white);
  color: var(--portfolio-ink);
}

.btn-dark {
  border-color: var(--portfolio-ink);
  background: var(--portfolio-ink);
  color: var(--portfolio-white);
}

.btn-dark:hover {
  border-color: var(--portfolio-cobalt);
  background: var(--portfolio-cobalt);
}

.portfolio-ready .portfolio-site .reveal,
.showcase-ready .showcase-site .reveal {
  opacity: 0;
  transform: translateY(28px);
  clip-path: inset(0 0 14% 0);
  transition: opacity 650ms ease, transform 760ms cubic-bezier(0.2, 0.75, 0.25, 1), clip-path 760ms cubic-bezier(0.2, 0.75, 0.25, 1);
  transition-delay: calc(var(--reveal-index, 0) * 55ms);
}

.portfolio-ready .portfolio-site .reveal.visible,
.showcase-ready .showcase-site .reveal.visible {
  opacity: 1;
  transform: translateY(0);
  clip-path: inset(0 0 0 0);
}

.delay-1 { --reveal-index: 1; }
.delay-2 { --reveal-index: 2; }
.delay-3 { --reveal-index: 3; }

/* Portfolio header */
.portfolio-site {
  background: var(--portfolio-ink);
  color: var(--portfolio-white);
}

.site-header {
  position: fixed;
  z-index: 1000;
  top: 0;
  left: 0;
  display: grid;
  grid-template-columns: minmax(250px, 1fr) auto minmax(250px, 1fr);
  align-items: center;
  width: 100%;
  min-height: var(--header-height);
  padding: 10px var(--page-gutter);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(8, 10, 9, 0.58);
  color: var(--portfolio-white);
  backdrop-filter: blur(18px);
  transition: background-color 220ms ease, border-color 220ms ease;
}

.site-header.scrolled {
  border-color: var(--line-dark);
  background: rgba(8, 10, 9, 0.96);
}

.site-brand {
  display: grid;
  grid-template-columns: 34px auto;
  grid-template-rows: 18px 15px;
  align-items: center;
  justify-self: start;
  column-gap: 10px;
  min-height: 48px;
  font-size: 0.9rem;
  font-weight: 900;
  text-transform: uppercase;
}

.site-brand img {
  grid-row: 1 / 3;
  width: 32px;
  height: 32px;
  border: 1px solid rgba(255, 255, 255, 0.22);
}

.site-brand small {
  color: var(--portfolio-muted);
  font-size: 0.62rem;
  font-weight: 700;
}

.desktop-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
}

.desktop-nav a {
  position: relative;
  padding: 13px 0;
  color: #d9ded9;
}

.desktop-nav a::after {
  position: absolute;
  right: 0;
  bottom: 6px;
  left: 0;
  height: 2px;
  transform: scaleX(0);
  transform-origin: right;
  background: var(--portfolio-acid);
  content: "";
  transition: transform 180ms ease;
}

.desktop-nav a:hover::after,
.desktop-nav a[aria-current="true"]::after {
  transform: scaleX(1);
  transform-origin: left;
}

.header-actions {
  display: flex;
  align-items: center;
  justify-self: end;
  gap: 10px;
}

.menu-toggle,
.showcase-menu-toggle {
  display: none;
  position: relative;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 1px solid currentColor;
  border-radius: 2px;
  background: transparent;
  cursor: pointer;
}

.menu-toggle span,
.showcase-menu-toggle span {
  position: absolute;
  left: 12px;
  width: 22px;
  height: 2px;
  background: currentColor;
  transition: transform 180ms ease, top 180ms ease;
}

.menu-toggle span:first-child,
.showcase-menu-toggle span:first-child { top: 18px; }
.menu-toggle span:last-child,
.showcase-menu-toggle span:last-child { top: 28px; }

.menu-toggle[aria-expanded="true"] span:first-child,
.showcase-menu-toggle[aria-expanded="true"] span:first-child {
  top: 23px;
  transform: rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:last-child,
.showcase-menu-toggle[aria-expanded="true"] span:last-child {
  top: 23px;
  transform: rotate(-45deg);
}

.page-progress {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--portfolio-acid);
  transform-origin: left;
}

.mobile-panel {
  position: fixed;
  z-index: 990;
  inset: var(--header-height) 0 0;
  padding: 34px var(--page-gutter);
  transform: translateY(-12px);
  opacity: 0;
  background: var(--portfolio-ink);
  color: var(--portfolio-white);
  visibility: hidden;
  transition: opacity 220ms ease, transform 220ms ease, visibility 220ms ease;
}

.mobile-panel.open {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}

.mobile-panel nav {
  display: grid;
  border-top: 1px solid var(--line-dark);
}

.mobile-panel nav a {
  display: grid;
  grid-template-columns: 42px 1fr;
  align-items: center;
  min-height: 70px;
  border-bottom: 1px solid var(--line-dark);
  font-size: 1.45rem;
  font-weight: 800;
}

.mobile-panel nav span {
  color: var(--portfolio-acid);
  font-size: 0.68rem;
}

.mobile-panel p {
  max-width: 420px;
  margin-top: 28px;
  color: var(--portfolio-muted);
}

/* Portfolio hero */
.portfolio-hero {
  position: relative;
  min-height: calc(100svh - 90px);
  overflow: hidden;
  background: var(--portfolio-ink);
  isolation: isolate;
}

.portfolio-hero-media,
.portfolio-hero-media img,
.portfolio-hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.portfolio-hero-media {
  z-index: -3;
}

.portfolio-hero-media img {
  object-fit: cover;
  object-position: center;
}

.portfolio-hero-shade {
  z-index: -2;
  background: rgba(3, 5, 4, 0.48);
}

.portfolio-hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(260px, 0.45fr);
  align-items: end;
  gap: 6vw;
  min-height: calc(100svh - 90px);
  padding-top: 150px;
  padding-bottom: 130px;
}

.portfolio-hero-copy {
  max-width: 980px;
}

.portfolio-hero-copy .eyebrow {
  color: var(--portfolio-acid);
}

.portfolio-hero h1 {
  max-width: 980px;
  margin-bottom: 28px;
  font-size: 6.1rem;
  font-weight: 900;
  line-height: 0.94;
}

.portfolio-hero h1 span {
  color: var(--portfolio-acid);
}

.hero-lead {
  max-width: 650px;
  margin-bottom: 30px;
  color: #d9ded9;
  font-size: 1.2rem;
}

.hero-actions,
.showcase-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.portfolio-hero-index {
  align-self: end;
  padding-bottom: 6px;
  border-top: 1px solid rgba(255, 255, 255, 0.36);
}

.portfolio-hero-index p {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 10px;
  margin: 0;
  padding: 15px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.22);
  color: #d9ded9;
  font-size: 0.82rem;
}

.portfolio-hero-index span {
  color: var(--portfolio-acid);
  font-weight: 800;
}

.portfolio-hero-foot {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  min-height: 70px;
  border-top: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(8, 10, 9, 0.82);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
}

.portfolio-hero-foot > * {
  display: flex;
  align-items: center;
  padding: 16px var(--page-gutter);
  border-right: 1px solid rgba(255, 255, 255, 0.18);
}

.portfolio-hero-foot a {
  gap: 12px;
  color: var(--portfolio-acid);
}

.portfolio-section {
  padding: 126px 0;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(270px, 0.5fr);
  gap: 8vw;
  align-items: end;
  margin-bottom: 72px;
}

.section-heading .eyebrow {
  grid-column: 1 / -1;
  margin-bottom: -2px;
  color: var(--portfolio-cobalt);
}

.section-heading h2 {
  max-width: 920px;
  margin-bottom: 0;
  font-size: 4.65rem;
  font-weight: 900;
  line-height: 0.98;
}

.section-heading > p:last-child {
  max-width: 500px;
  margin-bottom: 0;
  color: #575e59;
  font-size: 1rem;
}

.section-heading-light .eyebrow {
  color: var(--portfolio-acid);
}

.section-heading-light > p:last-child {
  color: #d2d7e8;
}

/* Capability ledger */
.capabilities-section {
  background: var(--portfolio-paper);
  color: var(--portfolio-ink);
}

.capability-ledger {
  border-top: 2px solid var(--portfolio-ink);
}

.capability-row {
  display: grid;
  grid-template-columns: 80px minmax(180px, 0.65fr) minmax(320px, 1.3fr) minmax(220px, 0.65fr);
  align-items: center;
  gap: 26px;
  min-height: 142px;
  border-bottom: 1px solid var(--line-light);
  transition: background-color 180ms ease, color 180ms ease;
}

.capability-row:hover {
  background: var(--portfolio-acid);
}

.capability-number,
.capability-output {
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
}

.capability-number {
  color: var(--portfolio-cobalt);
}

.capability-row h3 {
  margin: 0;
  font-size: 2.2rem;
  line-height: 1;
}

.capability-row p {
  max-width: 540px;
  margin: 0;
  color: #454b46;
}

.capability-output {
  justify-self: end;
  max-width: 190px;
  text-align: right;
}

/* Work gallery */
.work-section {
  overflow: hidden;
  background: var(--portfolio-cobalt);
  color: var(--portfolio-white);
}

.work-gallery-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.36);
  padding-top: 16px;
}

.work-gallery-head p {
  margin: 0;
  font-size: 0.74rem;
  font-weight: 800;
  text-transform: uppercase;
}

.work-gallery-head p span {
  margin-right: 18px;
  color: var(--portfolio-acid);
}

.gallery-controls {
  display: flex;
  gap: 8px;
}

.gallery-controls button {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.62);
  border-radius: 2px;
  background: transparent;
  color: var(--portfolio-white);
  cursor: pointer;
  font-size: 1.15rem;
  transition: background-color 160ms ease, color 160ms ease;
}

.gallery-controls button:hover {
  background: var(--portfolio-acid);
  color: var(--portfolio-ink);
}

.gallery-controls button:disabled {
  opacity: 0.35;
  cursor: default;
}

.work-gallery {
  display: flex;
  gap: 24px;
  width: 100%;
  padding-bottom: 22px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scrollbar-color: var(--portfolio-acid) rgba(255, 255, 255, 0.18);
  scrollbar-width: thin;
  scroll-snap-type: x mandatory;
}

.work-record {
  display: grid;
  flex: 0 0 min(1120px, calc(100% - 110px));
  grid-template-columns: minmax(0, 1.55fr) minmax(280px, 0.45fr);
  min-height: 620px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.42);
  background: var(--portfolio-ink);
  color: var(--portfolio-white);
  scroll-snap-align: start;
}

.work-record-media {
  min-width: 0;
  overflow: hidden;
  background: #141917;
}

.work-record-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top left;
  transition: transform 700ms cubic-bezier(0.2, 0.75, 0.25, 1);
}

.work-record-media:hover img {
  transform: scale(1.015);
}

.work-record-copy {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 42px;
  border-left: 1px solid var(--line-dark);
}

.work-record-copy > span {
  margin-bottom: auto;
  color: var(--portfolio-acid);
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
}

.work-record-copy h3 {
  margin-bottom: 18px;
  font-size: 3rem;
  line-height: 0.98;
}

.work-record-copy p {
  color: var(--portfolio-muted);
}

.work-record-copy a {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--line-dark);
  color: var(--portfolio-acid);
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
}

.concept-disclaimer {
  max-width: 730px;
  margin: 30px 0 0;
  color: #d2d7e8;
  font-size: 0.76rem;
}

/* Pricing */
.plans-section {
  background: var(--portfolio-paper);
  color: var(--portfolio-ink);
}

.pricing-status {
  display: none !important;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 2px solid var(--portfolio-ink);
  border-left: 1px solid var(--portfolio-ink);
}

.pricing-card {
  position: relative;
  display: flex;
  min-width: 0;
  min-height: 690px;
  flex-direction: column;
  padding: 34px;
  border-right: 1px solid var(--portfolio-ink);
  border-bottom: 1px solid var(--portfolio-ink);
  background: var(--portfolio-paper);
}

.pricing-card.featured {
  background: var(--portfolio-acid);
}

.pricing-card.premium-card {
  background: var(--portfolio-white);
}

.plan-heading {
  min-height: 250px;
}

.plan-index {
  display: block;
  margin-bottom: 48px;
  color: var(--portfolio-cobalt);
  font-size: 0.72rem;
  font-weight: 800;
}

.plan-tag {
  margin-bottom: 18px;
}

.plan-recommendation {
  position: absolute;
  top: 32px;
  right: 32px;
  color: var(--portfolio-cobalt);
}

.plan-heading h3 {
  margin-bottom: 20px;
  font-size: 3.4rem;
  line-height: 1;
}

.plan-heading p {
  max-width: 360px;
  color: #4a504b;
}

.pricing-card ul {
  display: grid;
  gap: 0;
  margin: 0 0 32px;
  padding: 0;
  list-style: none;
}

.pricing-card li {
  padding: 12px 0;
  border-top: 1px solid rgba(8, 10, 9, 0.24);
  font-size: 0.86rem;
}

.plan-footer {
  display: grid;
  gap: 16px;
  margin-top: auto;
}

.plan-footer strong {
  font-size: 0.78rem;
  text-transform: uppercase;
}

.custom-plan-card {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(300px, 0.9fr) minmax(320px, 1.2fr) auto;
  align-items: center;
  gap: 50px;
  min-height: 0;
  background: var(--portfolio-ink);
  color: var(--portfolio-white);
}

.custom-plan-lead {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 12px;
  align-items: start;
}

.custom-plan-lead .plan-index {
  margin: 4px 0 0;
  color: var(--portfolio-acid);
}

.custom-plan-card h3 {
  margin: 0;
  font-size: 2rem;
  line-height: 1.05;
}

.custom-plan-card p {
  margin: 0;
  color: var(--portfolio-muted);
}

/* Process */
.process-section {
  background: var(--portfolio-soft);
  color: var(--portfolio-white);
}

.process-layout {
  display: grid;
  grid-template-columns: minmax(300px, 0.55fr) minmax(0, 1.45fr);
  gap: 8vw;
  align-items: start;
}

.section-heading-compact {
  position: sticky;
  top: 118px;
  display: block;
  margin: 0;
}

.section-heading-compact .eyebrow {
  margin-bottom: 24px;
  color: var(--portfolio-acid);
}

.section-heading-compact h2 {
  margin-bottom: 24px;
  font-size: 4rem;
}

.section-heading-compact > p:last-child {
  color: var(--portfolio-muted);
}

.process-ledger {
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line-dark);
  list-style: none;
}

.process-ledger li {
  display: grid;
  grid-template-columns: 120px minmax(200px, 0.7fr) minmax(260px, 1fr);
  gap: 22px;
  align-items: start;
  padding: 34px 0 42px;
  border-bottom: 1px solid var(--line-dark);
}

.process-ledger li > span {
  color: var(--portfolio-acid);
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
}

.process-ledger h3 {
  margin: 0;
  font-size: 1.8rem;
}

.process-ledger p {
  margin: 0;
  color: var(--portfolio-muted);
}

/* Contact and admin */
.contact-section {
  padding: 126px 0;
  background: var(--portfolio-white);
  color: var(--portfolio-ink);
}

.contact-heading {
  max-width: 1060px;
  margin-bottom: 64px;
}

.contact-heading .eyebrow {
  color: var(--portfolio-cobalt);
}

.contact-heading h2 {
  margin: 0;
  font-size: 4.8rem;
  line-height: 0.98;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(300px, 0.75fr);
  gap: 7vw;
  align-items: start;
}

.contact-form,
.showcase-form,
.admin-pricing-shell {
  display: grid;
  gap: 20px;
}

.contact-form {
  padding-top: 22px;
  border-top: 2px solid var(--portfolio-ink);
}

.form-intro {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 46px;
  border-bottom: 1px solid var(--line-light);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
}

.form-intro span {
  color: var(--portfolio-cobalt);
}

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

.contact-form label,
.showcase-form label,
.admin-pricing-shell label {
  display: grid;
  gap: 8px;
  min-width: 0;
  font-size: 0.76rem;
  font-weight: 800;
}

.contact-form input,
.contact-form select,
.contact-form textarea,
.showcase-form input,
.showcase-form select,
.showcase-form textarea,
.admin-pricing-shell input,
.admin-pricing-shell select,
.admin-pricing-shell textarea {
  width: 100%;
  min-height: 50px;
  padding: 13px 14px;
  border: 1px solid #989e99;
  border-radius: 2px;
  background: transparent;
  color: inherit;
  outline: 0;
  transition: border-color 160ms ease, background-color 160ms ease, box-shadow 160ms ease;
}

.contact-form textarea,
.showcase-form textarea,
.admin-pricing-shell textarea {
  min-height: 132px;
  resize: vertical;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus,
.showcase-form input:focus,
.showcase-form select:focus,
.showcase-form textarea:focus,
.admin-pricing-shell input:focus,
.admin-pricing-shell select:focus,
.admin-pricing-shell textarea:focus {
  border-color: var(--portfolio-cobalt);
  box-shadow: 0 0 0 3px rgba(45, 81, 229, 0.16);
}

.form-submit-row {
  display: flex;
  align-items: center;
  gap: 18px;
}

.form-submit-row > span {
  color: #686e69;
  font-size: 0.72rem;
}

.contact-status,
.showcase-status {
  min-height: 24px;
  margin: 0;
  padding: 0;
  color: var(--success);
  font-size: 0.8rem;
  font-weight: 800;
}

.contact-status.error,
.showcase-status.is-error {
  color: var(--danger);
}

.showcase-status.is-success {
  color: var(--success);
}

.contact-guidance {
  position: sticky;
  top: 118px;
  padding-top: 22px;
  border-top: 2px solid var(--portfolio-ink);
}

.selected-plan-line {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 18px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line-light);
}

.selected-plan-line span {
  color: var(--portfolio-cobalt);
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
}

.selected-plan-line strong {
  font-size: 1.1rem;
}

.contact-guidance > h3 {
  max-width: 460px;
  margin: 44px 0 26px;
  font-size: 2.35rem;
  line-height: 1.05;
}

.contact-guidance ol {
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line-light);
  list-style: none;
}

.contact-guidance li {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 10px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line-light);
}

.contact-guidance li > span {
  color: var(--portfolio-cobalt);
  font-size: 0.68rem;
  font-weight: 800;
}

.contact-guidance li strong {
  font-size: 0.9rem;
}

.contact-guidance li p {
  margin: 5px 0 0;
  color: #636963;
  font-size: 0.82rem;
}

.contact-guidance > a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin-top: 28px;
  color: var(--portfolio-cobalt);
  font-size: 0.82rem;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 5px;
}

.admin-pricing-panel {
  padding: 80px var(--page-gutter);
  background: var(--portfolio-soft);
  color: var(--portfolio-white);
}

.admin-pricing-shell {
  width: min(1110px, 100%);
  margin-inline: auto;
}

.admin-pricing-shell .form-intro {
  border-color: var(--line-dark);
}

.admin-pricing-shell .btn-quiet {
  justify-self: end;
}

.admin-plan-editor {
  display: grid;
  gap: 16px;
  margin: 28px 0;
  padding: 26px;
  border: 1px solid var(--line-dark);
}

.admin-plan-editor legend {
  padding: 0 10px;
  color: var(--portfolio-acid);
  font-size: 1.3rem;
  font-weight: 800;
}

.site-footer,
.showcase-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  min-height: 150px;
  padding: 32px var(--page-gutter);
}

.site-footer {
  border-top: 1px solid var(--line-dark);
  background: var(--portfolio-ink);
  color: var(--portfolio-white);
}

.site-footer > div,
.showcase-footer > div {
  display: flex;
  align-items: center;
  gap: 22px;
}

.site-footer strong,
.showcase-footer strong {
  font-size: 1.1rem;
  text-transform: uppercase;
}

.site-footer span,
.showcase-footer span {
  color: var(--portfolio-muted);
  font-size: 0.76rem;
}

.site-footer a,
.showcase-footer a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
}

/* Shared showcase navigation and hero */
.showcase-site {
  min-height: 100vh;
}

.showcase-nav {
  position: fixed;
  z-index: 1000;
  top: 0;
  left: 0;
  display: grid;
  grid-template-columns: minmax(280px, 1fr) auto minmax(280px, 1fr);
  align-items: center;
  width: 100%;
  min-height: var(--header-height);
  padding: 10px var(--page-gutter);
  border-bottom: 1px solid rgba(255, 255, 255, 0.25);
  color: #fff;
  transition: background-color 220ms ease, color 220ms ease, border-color 220ms ease;
}

.showcase-nav .brand {
  display: grid;
  grid-template-columns: 36px auto;
  grid-template-rows: 18px 15px;
  align-items: center;
  justify-self: start;
  column-gap: 10px;
  min-height: 48px;
  font-size: 0.84rem;
  font-weight: 900;
  text-transform: uppercase;
}

.showcase-nav .brand-mark {
  display: grid;
  grid-row: 1 / 3;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid currentColor;
  font-family: var(--font-display);
  font-size: 1.1rem;
}

.showcase-nav .brand small {
  opacity: 0.7;
  font-size: 0.58rem;
  font-weight: 700;
}

.showcase-nav nav {
  display: flex;
  gap: 28px;
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
}

.showcase-nav nav a {
  padding: 14px 0;
}

.showcase-nav .nav-cta {
  justify-self: end;
}

.showcase-hero {
  position: relative;
  min-height: calc(100svh - 92px);
  overflow: hidden;
  isolation: isolate;
}

.showcase-hero > picture,
.showcase-hero > picture img,
.lumora-hero-shade,
.ember-hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.showcase-hero > picture {
  z-index: -3;
}

.showcase-hero > picture img {
  object-fit: cover;
}

.lumora-hero-shade,
.ember-hero-shade {
  z-index: -2;
}

.showcase-hero-content {
  position: absolute;
  z-index: 1;
  left: var(--page-gutter);
  bottom: 154px;
  max-width: 870px;
  color: #fff;
}

.showcase-hero-content h1 {
  margin-bottom: 24px;
  font-family: var(--font-display);
  font-size: 5.7rem;
  font-weight: 400;
  line-height: 0.98;
}

.showcase-hero-content > p:not(.showcase-kicker) {
  max-width: 640px;
  margin-bottom: 26px;
  font-size: 1.05rem;
}

.property-facts,
.service-note {
  position: absolute;
  z-index: 2;
  right: var(--page-gutter);
  bottom: 34px;
  left: var(--page-gutter);
  display: grid;
  border-top: 1px solid rgba(255, 255, 255, 0.46);
  border-bottom: 1px solid rgba(255, 255, 255, 0.46);
  background: rgba(9, 18, 20, 0.64);
  color: #fff;
}

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

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

.property-facts > div,
.service-note > div {
  display: grid;
  gap: 3px;
  min-height: 74px;
  padding: 15px 18px;
  border-right: 1px solid rgba(255, 255, 255, 0.32);
}

.property-facts > div:last-child,
.service-note > div:last-child {
  border-right: 0;
}

.property-facts span,
.service-note span {
  font-size: 0.62rem;
  font-weight: 800;
  text-transform: uppercase;
}

.property-facts strong,
.service-note strong {
  font-size: 0.82rem;
}

.showcase-scroll-cue {
  position: absolute;
  z-index: 3;
  right: var(--page-gutter);
  top: 110px;
  display: flex;
  gap: 14px;
  align-items: center;
  color: #fff;
  font-size: 0.66rem;
  font-weight: 800;
  text-transform: uppercase;
}

.showcase-section {
  padding: 118px var(--page-gutter);
}

.showcase-section-head {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
  gap: 8vw;
  align-items: end;
  width: min(100%, var(--page-max));
  margin: 0 auto 68px;
}

.showcase-section-head h2 {
  max-width: 900px;
  margin: 0;
  font-family: var(--font-display);
  font-size: 4.5rem;
  font-weight: 400;
  line-height: 1;
}

.showcase-section-head > p {
  max-width: 470px;
  margin: 0;
}

.showcase-btn.primary {
  color: #111;
}

.showcase-btn.secondary {
  border-color: rgba(255, 255, 255, 0.58);
  background: rgba(8, 10, 9, 0.32);
  color: #fff;
}

.showcase-btn.secondary:hover {
  border-color: #fff;
  background: #fff;
  color: #111;
}

/* Lumora */
.lumora {
  --lumora-paper: #e9e5da;
  --lumora-ivory: #f8f6ef;
  --lumora-ink: #12272b;
  --lumora-sea: #377b83;
  --lumora-glass: #83c4bf;
  --lumora-earth: #a15c3d;
  --lumora-line: #aebbb7;
  background: var(--lumora-paper);
  color: var(--lumora-ink);
}

.lumora .showcase-nav.scrolled {
  border-color: var(--lumora-line);
  background: rgba(233, 229, 218, 0.95);
  color: var(--lumora-ink);
  backdrop-filter: blur(16px);
}

.lumora .nav-cta,
.lumora .showcase-btn.primary {
  border-color: var(--lumora-glass);
  background: var(--lumora-glass);
  color: var(--lumora-ink);
}

.lumora .nav-cta:hover,
.lumora .showcase-btn.primary:hover {
  border-color: var(--lumora-ivory);
  background: var(--lumora-ivory);
}

.lumora-hero-shade {
  background: rgba(8, 30, 36, 0.38);
}

.lumora-hero > picture img {
  object-position: center;
}

.lumora-hero .showcase-kicker,
.lumora .property-facts span {
  color: var(--lumora-glass);
}

.lumora-residences {
  background: var(--lumora-paper);
}

.lumora .showcase-section-head .showcase-kicker,
.lumora-material-copy .showcase-kicker,
.lumora-inquiry .showcase-kicker {
  color: var(--lumora-sea);
}

.lumora-feature {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(320px, 0.45fr);
  width: min(100%, var(--page-max));
  margin-inline: auto;
  border-top: 1px solid var(--lumora-ink);
  border-bottom: 1px solid var(--lumora-ink);
}

.lumora-feature-media,
.lumora-interior,
.ember-process-media,
.ember-room-media {
  margin: 0;
  overflow: hidden;
}

.lumora-feature-media img {
  width: 100%;
  height: 100%;
  min-height: 600px;
  object-fit: cover;
}

.lumora-feature-media figcaption,
.lumora-interior figcaption,
.ember-process-media figcaption,
.ember-room-media figcaption {
  padding: 10px 0;
  font-size: 0.62rem;
  font-weight: 800;
  text-transform: uppercase;
}

.lumora-feature-copy {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 38px;
  border-left: 1px solid var(--lumora-ink);
}

.lumora-feature-copy > span {
  margin-bottom: auto;
  color: var(--lumora-sea);
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
}

.lumora-feature-copy h3 {
  margin-bottom: 18px;
  font-family: var(--font-display);
  font-size: 3.7rem;
  font-weight: 400;
  line-height: 1;
}

.lumora-feature-copy dl,
.residence-index dl {
  margin: 26px 0;
}

.lumora-feature-copy dl > div,
.residence-index dl > div {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 9px 0;
  border-top: 1px solid var(--lumora-line);
  font-size: 0.75rem;
}

.lumora-feature-copy dt,
.residence-index dt {
  color: var(--lumora-sea);
  text-transform: uppercase;
}

.lumora-feature-copy dd,
.residence-index dd {
  margin: 0;
  font-weight: 800;
}

.lumora-feature-copy > a {
  display: flex;
  justify-content: space-between;
  padding-top: 18px;
  border-top: 1px solid var(--lumora-ink);
  color: var(--lumora-sea);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
}

.residence-index {
  width: min(100%, var(--page-max));
  margin: 36px auto 0;
  border-top: 1px solid var(--lumora-line);
}

.residence-index article {
  display: grid;
  grid-template-columns: 70px minmax(300px, 1fr) minmax(280px, 0.7fr);
  gap: 30px;
  align-items: center;
  min-height: 180px;
  border-bottom: 1px solid var(--lumora-line);
}

.residence-index article > span {
  color: var(--lumora-earth);
  font-size: 0.78rem;
  font-weight: 800;
}

.residence-index h3 {
  margin-bottom: 10px;
  font-family: var(--font-display);
  font-size: 2.3rem;
  font-weight: 400;
}

.residence-index p {
  max-width: 590px;
  margin: 0;
  color: #526363;
}

.residence-index dl {
  margin: 0;
}

.lumora-architecture {
  display: grid;
  grid-template-columns: minmax(280px, 0.42fr) minmax(0, 1.2fr);
  gap: 5vw;
  background: var(--lumora-ink);
  color: var(--lumora-ivory);
}

.lumora-material-copy {
  position: sticky;
  top: 118px;
  align-self: start;
  max-width: 500px;
}

.lumora-material-copy h2 {
  margin-bottom: 28px;
  font-family: var(--font-display);
  font-size: 4.2rem;
  font-weight: 400;
  line-height: 1;
}

.lumora-material-copy > p:last-child {
  color: #bfcac7;
}

.lumora-interior {
  grid-column: 2;
}

.lumora-interior img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.lumora-interior figcaption {
  color: #bfcac7;
}

.material-index {
  grid-column: 2;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid #546664;
  border-left: 1px solid #546664;
}

.material-index article {
  min-height: 170px;
  padding: 26px;
  border-right: 1px solid #546664;
  border-bottom: 1px solid #546664;
}

.material-index span {
  color: var(--lumora-glass);
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
}

.material-index p {
  max-width: 340px;
  margin: 28px 0 0;
  color: #c9d1cf;
}

.lumora-viewing {
  background: var(--lumora-ivory);
}

.viewing-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  width: min(100%, var(--page-max));
  margin: 0 auto;
  padding: 0;
  border-top: 1px solid var(--lumora-ink);
  border-left: 1px solid var(--lumora-ink);
  list-style: none;
}

.viewing-steps li {
  display: flex;
  min-height: 210px;
  flex-direction: column;
  justify-content: space-between;
  padding: 28px;
  border-right: 1px solid var(--lumora-ink);
  border-bottom: 1px solid var(--lumora-ink);
}

.viewing-steps span {
  color: var(--lumora-sea);
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
}

.viewing-steps strong {
  max-width: 300px;
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 400;
  line-height: 1.2;
}

.lumora-inquiry {
  display: grid;
  grid-template-columns: minmax(300px, 0.65fr) minmax(0, 1.35fr);
  gap: 8vw;
  background: var(--lumora-paper);
}

.inquiry-copy {
  max-width: 540px;
}

.inquiry-copy h2 {
  margin-bottom: 22px;
  font-family: var(--font-display);
  font-size: 4.3rem;
  font-weight: 400;
  line-height: 1;
}

.inquiry-copy small {
  display: block;
  margin-top: 34px;
  padding-top: 18px;
  border-top: 1px solid currentColor;
  opacity: 0.72;
  font-size: 0.72rem;
}

.lumora .showcase-form {
  padding-top: 22px;
  border-top: 2px solid var(--lumora-ink);
}

.lumora .showcase-form input,
.lumora .showcase-form select,
.lumora .showcase-form textarea {
  border-color: var(--lumora-line);
  background: var(--lumora-ivory);
}

.lumora .showcase-form input:focus,
.lumora .showcase-form select:focus,
.lumora .showcase-form textarea:focus {
  border-color: var(--lumora-sea);
  box-shadow: 0 0 0 3px rgba(55, 123, 131, 0.16);
}

.lumora .showcase-footer {
  border-top: 1px solid var(--lumora-line);
  background: var(--lumora-paper);
  color: var(--lumora-ink);
}

.lumora .showcase-footer span {
  color: #5b6a68;
}

/* Ember and Oak */
.ember {
  --ember-ink: #17130f;
  --ember-paper: #f0e8da;
  --ember-ivory: #fff9ee;
  --ember-red: #e64d2f;
  --ember-brass: #c8a05c;
  --ember-herb: #68835e;
  --ember-line: #b9ad9b;
  background: var(--ember-paper);
  color: var(--ember-ink);
}

.ember .showcase-nav.scrolled {
  border-color: #3b332d;
  background: rgba(23, 19, 15, 0.96);
  color: var(--ember-ivory);
  backdrop-filter: blur(16px);
}

.ember .nav-cta,
.ember .showcase-btn.primary {
  border-color: var(--ember-red);
  background: var(--ember-red);
  color: var(--ember-ivory);
}

.ember .nav-cta:hover,
.ember .showcase-btn.primary:hover {
  border-color: var(--ember-ivory);
  background: var(--ember-ivory);
  color: var(--ember-ink);
}

.ember-hero-shade {
  background: rgba(18, 10, 6, 0.52);
}

.ember-hero > picture img {
  object-position: center;
}

.ember-hero .showcase-kicker,
.ember .service-note span {
  color: var(--ember-brass);
}

.ember-hero .showcase-hero-content h1 {
  max-width: 820px;
  font-family: var(--font-sans);
  font-size: 6rem;
  font-weight: 900;
  line-height: 0.9;
}

.ember-menu {
  background: var(--ember-ivory);
}

.ember .showcase-section-head .showcase-kicker,
.ember-process-copy .showcase-kicker,
.ember-reserve .showcase-kicker {
  color: var(--ember-red);
}

.menu-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  width: min(100%, var(--page-max));
  margin-inline: auto;
  border-top: 2px solid var(--ember-ink);
  border-left: 1px solid var(--ember-ink);
}

.menu-course {
  min-width: 0;
  padding: 30px;
  border-right: 1px solid var(--ember-ink);
  border-bottom: 1px solid var(--ember-ink);
}

.menu-course > span {
  display: block;
  min-height: 74px;
  color: var(--ember-herb);
  font-size: 0.7rem;
  font-weight: 900;
  text-transform: uppercase;
}

.menu-course-featured > span {
  color: var(--ember-red);
}

.menu-course article {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
  min-height: 124px;
  padding: 20px 0;
  border-top: 1px solid var(--ember-line);
}

.menu-course h3 {
  margin-bottom: 7px;
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 400;
}

.menu-course p {
  margin: 0;
  color: #6b6156;
  font-size: 0.8rem;
}

.menu-course article > strong {
  color: var(--ember-red);
  font-size: 0.82rem;
}

.menu-note {
  width: min(100%, var(--page-max));
  margin: 20px auto 0;
  color: #6b6156;
  font-size: 0.7rem;
}

.ember-kitchen-story {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(330px, 0.75fr);
  align-items: stretch;
  gap: 0;
  padding: 0;
  background: var(--ember-ink);
  color: var(--ember-ivory);
}

.ember-process-media img {
  width: 100%;
  height: 100%;
  min-height: 720px;
  object-fit: cover;
}

.ember-process-media figcaption {
  padding-left: var(--page-gutter);
  color: #c9bcaa;
}

.ember-process-copy {
  display: flex;
  min-height: 720px;
  flex-direction: column;
  justify-content: center;
  padding: 70px 5vw;
  border-left: 1px solid #3b332d;
}

.ember-process-copy h2 {
  margin-bottom: 26px;
  font-size: 4.4rem;
  font-weight: 900;
  line-height: 0.95;
}

.ember-process-copy > p:not(.showcase-kicker) {
  color: #c9bcaa;
}

.ember-process-copy ol {
  margin: 36px 0 0;
  padding: 0;
  border-top: 1px solid #4d4239;
  list-style: none;
}

.ember-process-copy li {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 12px;
  padding: 18px 0;
  border-bottom: 1px solid #4d4239;
  font-size: 0.86rem;
}

.ember-process-copy li span {
  color: var(--ember-red);
  font-weight: 900;
}

.ember-room {
  background: var(--ember-paper);
}

.ember-room-media {
  width: min(100%, var(--page-max));
  margin-inline: auto;
}

.ember-room-media img {
  width: 100%;
  aspect-ratio: 16 / 8;
  object-fit: cover;
}

.ember-room-media figcaption {
  color: #6b6156;
}

.hours-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.55fr) minmax(0, 1.45fr);
  gap: 7vw;
  width: min(100%, var(--page-max));
  margin: 72px auto 0;
  padding-top: 24px;
  border-top: 2px solid var(--ember-ink);
}

.hours-grid > div:first-child > span {
  color: var(--ember-red);
  font-size: 0.68rem;
  font-weight: 900;
  text-transform: uppercase;
}

.hours-grid h3 {
  margin-top: 24px;
  font-family: var(--font-display);
  font-size: 2.7rem;
  font-weight: 400;
  line-height: 1.05;
}

.hours-list {
  border-top: 1px solid var(--ember-line);
}

.hours-list > div {
  display: grid;
  grid-template-columns: 210px 1fr;
  gap: 22px;
  padding: 18px 0;
  border-bottom: 1px solid var(--ember-line);
  font-size: 0.82rem;
}

.hours-list span {
  color: #6b6156;
}

.hours-list strong {
  text-align: right;
}

.ember-reserve {
  display: grid;
  grid-template-columns: minmax(300px, 0.65fr) minmax(0, 1.35fr);
  gap: 8vw;
  background: var(--ember-red);
  color: var(--ember-ivory);
}

.ember-reserve .showcase-kicker {
  color: var(--ember-ink);
}

.ember-reserve .showcase-form {
  padding-top: 22px;
  border-top: 2px solid var(--ember-ivory);
}

.ember-reserve .showcase-form input,
.ember-reserve .showcase-form select,
.ember-reserve .showcase-form textarea {
  border-color: rgba(255, 249, 238, 0.68);
  background: var(--ember-ivory);
  color: var(--ember-ink);
}

.ember-reserve .showcase-form input:focus,
.ember-reserve .showcase-form select:focus,
.ember-reserve .showcase-form textarea:focus {
  border-color: var(--ember-ink);
  box-shadow: 0 0 0 3px rgba(23, 19, 15, 0.2);
}

.ember-reserve .showcase-btn.primary {
  border-color: var(--ember-ink);
  background: var(--ember-ink);
  color: var(--ember-ivory);
}

.ember-reserve .showcase-btn.primary:hover {
  border-color: var(--ember-ivory);
  background: var(--ember-ivory);
  color: var(--ember-ink);
}

.ember-reserve .showcase-status {
  color: var(--ember-ivory);
}

.ember-reserve .showcase-status.is-error {
  color: var(--ember-ink);
}

.ember .showcase-footer {
  border-top: 1px solid #3b332d;
  background: var(--ember-ink);
  color: var(--ember-ivory);
}

.ember .showcase-footer span {
  color: #c9bcaa;
}

/* Tablet */
@media (max-width: 1120px) {
  :root {
    --page-gutter: 26px;
    --header-height: 70px;
  }

  .site-header,
  .showcase-nav {
    grid-template-columns: 1fr auto;
  }

  .desktop-nav,
  .showcase-nav > nav,
  .showcase-nav > .nav-cta {
    display: none;
  }

  .menu-toggle,
  .showcase-menu-toggle {
    display: block;
    justify-self: end;
  }

  .showcase-nav nav {
    position: fixed;
    top: var(--header-height);
    right: 0;
    left: 0;
    display: grid;
    gap: 0;
    padding: 18px var(--page-gutter) 28px;
    transform: translateY(-12px);
    opacity: 0;
    background: var(--portfolio-ink);
    color: var(--portfolio-white);
    visibility: hidden;
    transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
  }

  .showcase-nav nav.open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .showcase-nav nav a {
    min-height: 54px;
    padding: 17px 0;
    border-bottom: 1px solid var(--line-dark);
  }

  .portfolio-hero h1 {
    font-size: 4.9rem;
  }

  .section-heading h2,
  .contact-heading h2 {
    font-size: 3.8rem;
  }

  .capability-row {
    grid-template-columns: 60px minmax(160px, 0.6fr) minmax(260px, 1fr);
  }

  .capability-output {
    display: none;
  }

  .work-record {
    grid-template-columns: minmax(0, 1.35fr) minmax(250px, 0.65fr);
    min-height: 540px;
  }

  .work-record-copy {
    padding: 30px;
  }

  .work-record-copy h3 {
    font-size: 2.4rem;
  }

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

  .pricing-card {
    min-height: 650px;
  }

  .custom-plan-card {
    grid-template-columns: minmax(280px, 1fr) minmax(280px, 1fr);
  }

  .custom-plan-card .btn {
    grid-column: 1 / -1;
    justify-self: start;
  }

  .process-layout {
    gap: 5vw;
  }

  .process-ledger li {
    grid-template-columns: 90px 1fr;
  }

  .process-ledger li p {
    grid-column: 2;
  }

  .showcase-hero-content h1,
  .ember-hero .showcase-hero-content h1 {
    font-size: 4.8rem;
  }

  .showcase-section-head h2,
  .lumora-material-copy h2,
  .inquiry-copy h2,
  .ember-process-copy h2 {
    font-size: 3.6rem;
  }

  .lumora-feature {
    grid-template-columns: minmax(0, 1.25fr) minmax(290px, 0.75fr);
  }

  .lumora-feature-media img {
    min-height: 540px;
  }

  .residence-index article {
    grid-template-columns: 55px 1fr minmax(240px, 0.65fr);
  }

  .ember-kitchen-story {
    grid-template-columns: minmax(0, 1.05fr) minmax(340px, 0.95fr);
  }
}

/* Phone and narrow tablet */
@media (max-width: 820px) {
  :root {
    --page-gutter: 18px;
    --header-height: 66px;
  }

  .site-header,
  .showcase-nav {
    min-height: var(--header-height);
    padding-block: 8px;
  }

  .site-brand small,
  .showcase-nav .brand small,
  .header-actions > .btn {
    display: none;
  }

  .site-brand,
  .showcase-nav .brand {
    grid-template-rows: 1fr;
  }

  .site-brand img,
  .showcase-nav .brand-mark {
    grid-row: 1;
  }

  .mobile-panel {
    padding-top: 24px;
  }

  .portfolio-hero {
    min-height: calc(100svh - 70px);
  }

  .portfolio-hero-media img {
    object-position: center;
  }

  .portfolio-hero-shade {
    background: rgba(3, 5, 4, 0.58);
  }

  .portfolio-hero-layout {
    display: flex;
    min-height: calc(100svh - 70px);
    flex-direction: column;
    justify-content: flex-end;
    gap: 26px;
    padding-top: 108px;
    padding-bottom: 102px;
  }

  .portfolio-hero h1 {
    max-width: 590px;
    margin-bottom: 22px;
    font-size: 3.8rem;
    line-height: 0.95;
  }

  .hero-lead {
    max-width: 560px;
    margin-bottom: 24px;
    font-size: 1rem;
  }

  .portfolio-hero-index {
    display: none;
  }

  .portfolio-hero-foot {
    grid-template-columns: 1fr auto;
    min-height: 58px;
  }

  .portfolio-hero-foot > * {
    padding: 12px var(--page-gutter);
  }

  .portfolio-hero-foot > span:nth-child(2) {
    display: none;
  }

  .portfolio-section,
  .contact-section,
  .showcase-section {
    padding-top: 84px;
    padding-bottom: 84px;
  }

  .section-heading,
  .showcase-section-head {
    display: block;
    margin-bottom: 48px;
  }

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

  .section-heading h2,
  .contact-heading h2,
  .showcase-section-head h2,
  .lumora-material-copy h2,
  .inquiry-copy h2,
  .ember-process-copy h2 {
    font-size: 3rem;
  }

  .section-heading > p:last-child,
  .showcase-section-head > p {
    margin-top: 24px;
  }

  .capability-row {
    grid-template-columns: 44px 1fr;
    gap: 12px;
    min-height: 0;
    padding: 28px 0;
  }

  .capability-row h3 {
    font-size: 1.8rem;
  }

  .capability-row p {
    grid-column: 2;
  }

  .work-gallery-head p {
    font-size: 0.68rem;
  }

  .work-gallery {
    gap: 12px;
    padding-right: var(--page-gutter);
    scrollbar-width: none;
  }

  .work-gallery::-webkit-scrollbar {
    display: none;
  }

  .work-record {
    display: flex;
    flex: 0 0 92%;
    min-height: 0;
    flex-direction: column;
  }

  .work-record-media {
    aspect-ratio: 16 / 10;
  }

  .work-record-copy {
    min-height: 300px;
    padding: 24px;
    border-top: 1px solid var(--line-dark);
    border-left: 0;
  }

  .work-record-copy > span {
    margin-bottom: 48px;
  }

  .work-record-copy h3 {
    font-size: 2.2rem;
  }

  .pricing-grid {
    display: block;
    border-left: 0;
  }

  .pricing-card {
    min-height: 0;
    padding: 28px 22px;
    border-left: 1px solid var(--portfolio-ink);
  }

  .plan-heading {
    min-height: 0;
  }

  .plan-index {
    margin-bottom: 32px;
  }

  .plan-heading h3 {
    font-size: 3rem;
  }

  .pricing-card ul {
    margin-top: 34px;
  }

  .plan-footer {
    margin-top: 24px;
  }

  .custom-plan-card {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .custom-plan-card .btn {
    width: 100%;
  }

  .process-layout,
  .contact-layout,
  .lumora-inquiry,
  .ember-reserve {
    display: block;
  }

  .section-heading-compact,
  .contact-guidance,
  .lumora-material-copy {
    position: static;
  }

  .section-heading-compact {
    margin-bottom: 54px;
  }

  .process-ledger li {
    grid-template-columns: 70px 1fr;
    padding: 26px 0;
  }

  .contact-heading {
    margin-bottom: 48px;
  }

  .contact-layout {
    display: flex;
    flex-direction: column;
    gap: 68px;
  }

  .contact-guidance {
    order: -1;
  }

  .contact-guidance > h3 {
    font-size: 2rem;
  }

  .showcase-hero {
    min-height: calc(100svh - 72px);
  }

  .showcase-hero-content {
    right: var(--page-gutter);
    bottom: 150px;
    left: var(--page-gutter);
  }

  .showcase-hero-content h1,
  .ember-hero .showcase-hero-content h1 {
    font-size: 3.65rem;
  }

  .showcase-hero-content > p:not(.showcase-kicker) {
    font-size: 0.95rem;
  }

  .property-facts,
  .service-note {
    right: var(--page-gutter);
    bottom: 18px;
    left: var(--page-gutter);
    grid-template-columns: 1fr;
  }

  .property-facts > div,
  .service-note > div {
    display: none;
    min-height: 58px;
    padding: 11px 12px;
    border-right: 0;
  }

  .property-facts > div:first-child,
  .service-note > div:first-child {
    display: grid;
  }

  .showcase-scroll-cue {
    display: none;
  }

  .lumora-feature,
  .lumora-architecture,
  .ember-kitchen-story {
    display: block;
  }

  .lumora-feature-media img {
    min-height: 0;
    aspect-ratio: 4 / 3;
  }

  .lumora-feature-copy {
    min-height: 470px;
    padding: 26px 22px;
    border-top: 1px solid var(--lumora-ink);
    border-left: 0;
  }

  .lumora-feature-copy > span {
    margin-bottom: 66px;
  }

  .lumora-feature-copy h3 {
    font-size: 3rem;
  }

  .residence-index article {
    grid-template-columns: 40px 1fr;
    gap: 12px;
    padding: 28px 0;
  }

  .residence-index article dl {
    grid-column: 2;
    width: 100%;
  }

  .lumora-architecture {
    padding-inline: var(--page-gutter);
  }

  .lumora-material-copy {
    margin-bottom: 42px;
  }

  .lumora-interior,
  .material-index {
    grid-column: auto;
  }

  .lumora-interior img {
    aspect-ratio: 4 / 3;
  }

  .material-index {
    margin-top: 30px;
  }

  .viewing-steps {
    display: block;
    border-left: 0;
  }

  .viewing-steps li {
    min-height: 150px;
    border-left: 1px solid var(--lumora-ink);
  }

  .lumora-inquiry .showcase-form,
  .ember-reserve .showcase-form {
    margin-top: 54px;
  }

  .menu-list {
    display: block;
    border-left: 0;
  }

  .menu-course {
    padding: 24px 18px;
    border-left: 1px solid var(--ember-ink);
  }

  .menu-course > span {
    min-height: 54px;
  }

  .ember-process-media img {
    min-height: 0;
    aspect-ratio: 4 / 3;
  }

  .ember-process-copy {
    min-height: 0;
    padding: 64px var(--page-gutter) 78px;
    border-top: 1px solid #3b332d;
    border-left: 0;
  }

  .ember-room-media img {
    aspect-ratio: 4 / 3;
  }

  .hours-grid {
    display: block;
    margin-top: 50px;
  }

  .hours-list {
    margin-top: 38px;
  }

  .hours-list > div {
    grid-template-columns: 1fr;
    gap: 5px;
  }

  .hours-list strong {
    text-align: left;
  }

  .site-footer,
  .showcase-footer {
    align-items: flex-start;
    flex-direction: column;
    min-height: 0;
    padding-top: 42px;
    padding-bottom: 42px;
  }
}

@media (max-width: 520px) {
  .site-brand span,
  .showcase-nav .brand > span:not(.brand-mark) {
    font-size: 0.75rem;
  }

  .portfolio-hero h1 {
    font-size: 3rem;
  }

  .portfolio-hero-copy .eyebrow,
  .showcase-hero-content .showcase-kicker {
    max-width: 290px;
  }

  .hero-actions,
  .showcase-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-actions .btn,
  .showcase-actions .showcase-btn {
    width: 100%;
  }

  .portfolio-hero-foot {
    display: block;
  }

  .portfolio-hero-foot a {
    display: none;
  }

  .section-heading h2,
  .contact-heading h2,
  .showcase-section-head h2,
  .lumora-material-copy h2,
  .inquiry-copy h2,
  .ember-process-copy h2 {
    font-size: 2.55rem;
  }

  .gallery-controls button {
    width: 44px;
    height: 44px;
  }

  .work-record {
    flex-basis: 94%;
  }

  .work-record-copy {
    min-height: 280px;
  }

  .plan-heading h3 {
    font-size: 2.7rem;
  }

  .custom-plan-lead {
    grid-template-columns: 34px 1fr;
  }

  .custom-plan-card h3 {
    font-size: 1.75rem;
  }

  .contact-two,
  .showcase-form-row {
    grid-template-columns: 1fr;
  }

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

  .form-submit-row .btn {
    width: 100%;
  }

  .selected-plan-line {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .showcase-hero-content {
    bottom: 132px;
  }

  .showcase-hero-content h1,
  .ember-hero .showcase-hero-content h1 {
    font-size: 3rem;
  }

  .lumora-hero > picture img {
    object-position: 58% center;
  }

  .ember-hero > picture img {
    object-position: 58% center;
  }

  .material-index {
    grid-template-columns: 1fr;
  }

  .material-index article {
    min-height: 140px;
  }

  .menu-course article {
    min-height: 112px;
  }

  .site-footer > div,
  .showcase-footer > div {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }
}

@media (max-width: 360px) {
  .portfolio-hero h1,
  .showcase-hero-content h1,
  .ember-hero .showcase-hero-content h1 {
    font-size: 2.55rem;
  }

  .section-heading h2,
  .contact-heading h2,
  .showcase-section-head h2,
  .lumora-material-copy h2,
  .inquiry-copy h2,
  .ember-process-copy h2 {
    font-size: 2.25rem;
  }
}

@media (max-width: 360px) and (max-height: 650px) {
  .portfolio-hero-layout {
    min-height: calc(100svh - 70px);
    gap: 10px;
    padding-top: 76px;
    padding-bottom: 66px;
  }

  .portfolio-hero-copy .eyebrow {
    margin-bottom: 12px;
  }

  .portfolio-hero h1 {
    margin-bottom: 10px;
    font-size: 2.2rem;
  }

  .hero-lead {
    margin-bottom: 12px;
    font-size: 0.82rem;
    line-height: 1.45;
  }

  .hero-actions {
    flex-direction: row;
    gap: 8px;
  }

  .hero-actions .btn {
    width: auto;
    flex: 1;
    padding-inline: 8px;
    font-size: 0.68rem;
  }

  .portfolio-hero-foot {
    min-height: 52px;
  }
}

@media (max-height: 520px) and (min-width: 361px) {
  .portfolio-hero,
  .portfolio-hero-layout {
    min-height: calc(100svh - 70px);
  }

  .portfolio-hero-layout {
    display: flex;
    justify-content: flex-start;
    gap: 0;
    padding-top: calc(var(--header-height) + 12px);
    padding-bottom: 48px;
  }

  .portfolio-hero-copy {
    max-width: 760px;
  }

  .portfolio-hero-copy .eyebrow,
  .hero-lead,
  .portfolio-hero-index {
    display: none;
  }

  .portfolio-hero h1 {
    margin-bottom: 8px;
    font-size: 2.4rem;
    line-height: 0.92;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: row;
    gap: 8px;
  }

  .hero-actions .btn {
    width: auto;
    min-height: 44px;
    padding: 9px 14px;
  }

  .portfolio-hero-foot {
    display: block;
    min-height: 44px;
  }

  .portfolio-hero-foot > * {
    min-height: 44px;
    padding: 8px var(--page-gutter);
  }

  .portfolio-hero-foot > span:nth-child(n + 2),
  .portfolio-hero-foot > a {
    display: none;
  }

  .showcase-hero-content {
    top: calc(var(--header-height) + 10px);
    right: var(--page-gutter);
    bottom: auto;
    left: var(--page-gutter);
    max-width: 760px;
  }

  .showcase-hero-content .showcase-kicker {
    margin-bottom: 6px;
    font-size: 0.58rem;
  }

  .showcase-hero-content h1,
  .ember-hero .showcase-hero-content h1 {
    margin-bottom: 10px;
    font-size: 2.35rem;
    line-height: 0.95;
  }

  .showcase-hero-content > p:not(.showcase-kicker),
  .property-facts,
  .service-note,
  .showcase-scroll-cue {
    display: none;
  }

  .showcase-actions {
    align-items: stretch;
    flex-direction: row;
    gap: 8px;
  }

  .showcase-actions .showcase-btn {
    width: auto;
    min-height: 44px;
    padding: 9px 14px;
  }
}

@media (max-height: 520px) and (min-width: 361px) and (max-width: 700px) {
  .portfolio-hero h1 {
    font-size: 1.8rem;
  }

  .showcase-hero-content .showcase-kicker {
    display: none;
  }

  .showcase-hero-content h1,
  .ember-hero .showcase-hero-content h1 {
    font-size: 2rem;
  }
}

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

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

  .portfolio-ready .portfolio-site .reveal,
  .showcase-ready .showcase-site .reveal,
  .portfolio-ready .portfolio-site .reveal.visible,
  .showcase-ready .showcase-site .reveal.visible {
    opacity: 1;
    transform: none;
    clip-path: none;
  }

  [data-depth],
  .work-record-media img {
    transform: none !important;
  }
}

@media (forced-colors: active) {
  .btn,
  .showcase-btn,
  .nav-cta,
  .pricing-card,
  .work-record,
  input,
  select,
  textarea {
    border: 1px solid CanvasText;
  }

  .portfolio-hero-shade,
  .lumora-hero-shade,
  .ember-hero-shade {
    background: Canvas;
  }

  .portfolio-hero-media,
  .showcase-hero > picture {
    opacity: 0.25;
  }
}
