/* Red Ridge Creative
   Custom single-page portfolio
*/

:root {
  --ink: #171511;
  --ink-soft: #26221d;
  --paper: #f2efe7;
  --paper-deep: #e8e2d6;
  --white: #fffdf7;
  --red: #a83227;
  --red-deep: #7f211b;
  --red-light: #e35d49;
  --sand: #c9b99f;
  --line: rgba(23, 21, 17, 0.18);
  --shell: min(1380px, calc(100vw - 72px));
  --shadow: 0 32px 90px rgba(26, 17, 12, 0.22);
  --ease: cubic-bezier(.2, .75, .2, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.menu-open {
  overflow: hidden;
}

::selection {
  color: var(--white);
  background: var(--red);
}

img,
svg {
  display: block;
}

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

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

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

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

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

.skip-link {
  position: fixed;
  z-index: 999;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  color: var(--white);
  background: var(--red);
  transform: translateY(-160%);
  transition: transform 180ms ease;
}

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

.topline {
  position: fixed;
  z-index: 200;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: rgba(168, 50, 39, .16);
}

.topline span {
  display: block;
  width: 0;
  height: 100%;
  background: var(--red-light);
}

/* Header */

.site-header {
  position: fixed;
  z-index: 100;
  top: 3px;
  left: 0;
  width: 100%;
  color: var(--white);
  border-bottom: 1px solid transparent;
  transition: background 260ms ease, border-color 260ms ease, color 260ms ease, transform 260ms ease;
}

.site-header.is-scrolled {
  color: var(--ink);
  background: rgba(242, 239, 231, .9);
  border-color: var(--line);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
}

.brand-mark {
  width: 44px;
  height: 44px;
  color: var(--red);
  transition: transform 300ms var(--ease);
}

.brand:hover .brand-mark {
  transform: rotate(-3deg) translateY(-1px);
}

.brand-name {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 20px;
  letter-spacing: -.025em;
}

.brand-name strong {
  display: block;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 9px;
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: .32em;
  opacity: .72;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(24px, 3vw, 48px);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .16em;
}

.site-nav > a:not(.nav-cta) {
  position: relative;
  padding-block: 12px;
}

.site-nav > a:not(.nav-cta)::after {
  position: absolute;
  right: 0;
  bottom: 6px;
  left: 0;
  height: 1px;
  content: '';
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 250ms var(--ease);
}

.site-nav > a:not(.nav-cta):hover::after,
.site-nav > a:not(.nav-cta):focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-cta {
  display: inline-flex;
  min-height: 44px;
  padding: 0 18px;
  align-items: center;
  gap: 13px;
  color: var(--white);
  background: var(--red);
  transition: background 180ms ease, transform 180ms ease;
}

.nav-cta:hover {
  background: var(--red-deep);
  transform: translateY(-2px);
}

.menu-button {
  display: none;
}

/* Shared type and controls */

.eyebrow,
.kicker,
.project-index {
  margin: 0;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .2em;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(255, 253, 247, .72);
}

.eyebrow span {
  display: block;
  width: 28px;
  height: 2px;
  background: var(--red-light);
}

.kicker {
  color: var(--red);
}

.kicker-light {
  color: #ef8979;
}

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

.display,
h2,
.project h3,
.contact-copy h2 {
  font-family: Georgia, 'Times New Roman', serif;
  font-weight: 400;
  letter-spacing: -.055em;
}

.display em,
h2 em {
  color: var(--red-light);
  font-weight: 400;
}

.button {
  display: inline-flex;
  min-height: 56px;
  padding: 0 22px;
  align-items: center;
  justify-content: center;
  gap: 28px;
  border: 1px solid transparent;
  border-radius: 0;
  cursor: pointer;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .16em;
  transition: transform 200ms var(--ease), background 200ms ease, color 200ms ease, border-color 200ms ease;
}

.button span {
  font-size: 17px;
  line-height: 1;
}

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

.button:focus-visible,
.text-link:focus-visible,
.site-nav a:focus-visible,
.macbook-link:focus-visible {
  outline: 2px solid var(--red-light);
  outline-offset: 4px;
}

.button-primary {
  color: var(--white);
  background: var(--red);
}

.button-primary:hover {
  background: var(--red-light);
}

.button-light {
  color: var(--ink);
  background: var(--white);
}

.button-light:hover {
  color: var(--white);
  background: var(--ink);
}

.button-dark {
  color: var(--white);
  background: var(--ink);
}

.button-dark:hover {
  background: var(--red);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding-block: 8px;
  color: var(--white);
  border-bottom: 1px solid rgba(255, 255, 255, .4);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .13em;
  transition: gap 200ms ease, border-color 200ms ease;
}

.text-link:hover {
  gap: 16px;
  border-color: currentColor;
}

.text-link-dark {
  color: var(--ink);
  border-color: rgba(23, 21, 17, .35);
}

/* Hero */

.hero {
  position: relative;
  min-height: max(760px, 100svh);
  overflow: hidden;
  color: var(--white);
  background:
    radial-gradient(circle at 72% 34%, rgba(180, 63, 48, .19), transparent 30%),
    linear-gradient(128deg, #151310 0%, #1b1713 58%, #251915 100%);
}

.hero::before {
  position: absolute;
  top: 0;
  left: 0;
  width: 8px;
  height: 100%;
  content: '';
  background: var(--red);
}

.contour-field {
  position: absolute;
  top: 0;
  right: -7vw;
  width: min(68vw, 980px);
  height: 100%;
  color: rgba(239, 111, 92, .15);
  pointer-events: none;
}

.contour-field svg {
  width: 100%;
  height: 100%;
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  min-height: calc(max(760px, 100svh) - 96px);
  padding-top: 132px;
  padding-bottom: 84px;
  align-items: center;
  grid-template-columns: 1fr;
}

.hero-copy {
  position: relative;
  z-index: 3;
  max-width: 1160px;
}

.hero .display {
  max-width: 1120px;
  margin: 27px 0 30px;
  font-size: clamp(76px, 10.2vw, 156px);
  line-height: .81;
}

.hero .display em {
  display: block;
  margin-left: .36em;
}

.hero-intro {
  max-width: 590px;
  margin-bottom: 34px;
  color: rgba(255, 253, 247, .72);
  font-size: clamp(16px, 1.45vw, 21px);
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 27px;
}

.hero-notes {
  display: flex;
  margin-top: 48px;
  flex-wrap: wrap;
  gap: 14px 28px;
  color: rgba(255, 253, 247, .6);
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .14em;
}

.hero-notes span {
  display: flex;
  align-items: center;
  gap: 9px;
}

.hero-notes span::before {
  width: 5px;
  height: 5px;
  content: '';
  border-radius: 50%;
  background: var(--red-light);
}


.hero-foot {
  position: absolute;
  z-index: 3;
  right: 0;
  bottom: 22px;
  left: 0;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  color: rgba(255, 253, 247, .42);
}

.hero-foot p {
  margin: 0;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 12px;
  font-style: italic;
  letter-spacing: .02em;
}

.hero-foot p strong {
  color: rgba(255, 253, 247, .75);
  font-weight: 400;
}

.scroll-cue {
  display: flex;
  align-items: center;
  gap: 13px;
  font-size: 8px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .15em;
}

.scroll-cue i {
  display: block;
  width: 42px;
  height: 1px;
  overflow: hidden;
  background: rgba(255, 255, 255, .2);
}

.scroll-cue i::after {
  display: block;
  width: 14px;
  height: 1px;
  content: '';
  background: var(--red-light);
  animation: scroll-line 1.8s ease-in-out infinite;
}

@keyframes scroll-line {
  0% { transform: translateX(-14px); }
  100% { transform: translateX(42px); }
}

/* Work */

.work-section {
  overflow: hidden;
  background: var(--paper);
}

.section-heading {
  display: grid;
  padding-block: 120px 95px;
  align-items: end;
  grid-template-columns: 1.4fr .6fr;
  gap: 8vw;
}

.section-heading h2,
.services-intro h2,
.studio-title h2 {
  max-width: 900px;
  margin: 17px 0 0;
  font-size: clamp(47px, 6vw, 90px);
  line-height: .98;
}

.section-heading > p {
  max-width: 480px;
  margin: 0;
  color: rgba(23, 21, 17, .67);
  font-size: 16px;
  line-height: 1.8;
}

.project {
  position: relative;
  min-height: 760px;
  padding-block: 105px;
  overflow: hidden;
}

.project::after {
  position: absolute;
  content: '';
  pointer-events: none;
}

.project-scoops {
  color: var(--white);
  background: #123246;
}

.project-scoops::after {
  right: -160px;
  bottom: -210px;
  width: 560px;
  height: 560px;
  border: 110px solid rgba(255, 199, 45, .09);
  border-radius: 50%;
}

.project-detailing {
  color: var(--ink);
  background: #ddd6cb;
}

.project-detailing::after {
  top: -140px;
  left: -100px;
  width: 420px;
  height: 900px;
  background: repeating-linear-gradient(110deg, transparent 0 28px, rgba(168, 50, 39, .06) 29px 31px);
  transform: rotate(12deg);
}

.project-grid {
  position: relative;
  z-index: 2;
  display: grid;
  align-items: center;
  grid-template-columns: minmax(300px, .73fr) minmax(0, 1.27fr);
  gap: clamp(50px, 7vw, 110px);
}

.project-grid-reverse {
  grid-template-columns: minmax(0, 1.27fr) minmax(300px, .73fr);
}

.project-grid-reverse .project-copy {
  order: 2;
}

.project-grid-reverse .macbook-link {
  order: 1;
}

.project-grid > * {
  min-width: 0;
}

.project-index {
  margin-bottom: 22px;
  opacity: .64;
}

.project h3 {
  margin-bottom: 29px;
  font-size: clamp(56px, 6.5vw, 96px);
  line-height: .84;
}

.project-scoops h3 {
  color: #ffd04c;
}

.project-lead {
  max-width: 510px;
  margin-bottom: 33px;
  font-size: 17px;
  line-height: 1.7;
  opacity: .79;
}

.project-meta {
  display: grid;
  margin-bottom: 38px;
  border-top: 1px solid currentColor;
  opacity: .7;
}

.project-meta > div {
  display: grid;
  padding: 13px 0;
  border-bottom: 1px solid currentColor;
  grid-template-columns: 86px 1fr;
  gap: 14px;
}

.project-meta span,
.project-meta strong {
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: .11em;
}

.project-meta span {
  opacity: .62;
}

.project-meta strong {
  font-weight: 700;
}

.macbook-link {
  display: block;
  padding: 18px 0 34px;
  transition: transform 500ms var(--ease);
}

.macbook-link:hover {
  transform: translateY(-10px);
}

.macbook {
  position: relative;
  display: block;
  width: 100%;
  max-width: 880px;
  margin-inline: auto;
  perspective: 1400px;
}

.macbook-lid {
  position: relative;
  z-index: 2;
  display: block;
  width: 92%;
  margin-inline: auto;
  padding: 12px 12px 15px;
  border: 1px solid rgba(255, 255, 255, .55);
  border-radius: 20px 20px 7px 7px;
  background: linear-gradient(145deg, #dadcdd 0%, #898d90 4%, #c6c9ca 13%, #7b7f81 96%, #dfe1e2 100%);
  box-shadow:
    inset 0 0 0 1px rgba(0, 0, 0, .3),
    inset 0 1px 2px rgba(255, 255, 255, .85),
    0 28px 70px rgba(18, 12, 8, .28);
  transform: rotateX(-1deg);
  transform-origin: bottom;
  transition: transform 500ms var(--ease), box-shadow 500ms ease;
}

.macbook-link:hover .macbook-lid {
  box-shadow:
    inset 0 0 0 1px rgba(0, 0, 0, .3),
    inset 0 1px 2px rgba(255, 255, 255, .85),
    0 38px 90px rgba(18, 12, 8, .34);
  transform: rotateX(0deg);
}

.macbook-camera {
  position: absolute;
  z-index: 4;
  top: 4px;
  left: 50%;
  width: 5px;
  height: 5px;
  border: 1px solid #313438;
  border-radius: 50%;
  background: radial-gradient(circle at 42% 40%, #546d7b 0 18%, #111417 25% 100%);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .16);
  transform: translateX(-50%);
}

.macbook-screen {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  border: 5px solid #101113;
  border-radius: 8px 8px 3px 3px;
  background: #080808;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08);
}

.safari-toolbar {
  display: flex;
  height: 28px;
  padding: 0 11px;
  align-items: center;
  gap: 6px;
  color: #363330;
  border-bottom: 1px solid #c6c3be;
  background: linear-gradient(#f1efec, #d9d6d1);
}

.safari-toolbar i {
  display: block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
}

.safari-toolbar i:nth-child(1) { background: #ff5f57; }
.safari-toolbar i:nth-child(2) { background: #febc2e; }
.safari-toolbar i:nth-child(3) { background: #28c840; }

.safari-toolbar b {
  min-width: 0;
  margin: 0 auto;
  padding: 3px 40px;
  overflow: hidden;
  border: 1px solid rgba(40, 37, 34, .09);
  border-radius: 6px;
  background: rgba(255, 255, 255, .6);
  font-size: 7px;
  font-weight: 600;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
  letter-spacing: .035em;
}

.macbook-viewport {
  display: block;
  height: calc(100% - 28px);
  overflow: hidden;
  background: #111;
}

.macbook-viewport img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 900ms var(--ease);
}

.macbook-link:hover .macbook-viewport img {
  transform: scale(1.018);
}

.macbook-base {
  position: relative;
  z-index: 3;
  display: block;
  width: 100%;
  height: 22px;
  margin-top: -1px;
  border-radius: 2px 2px 15px 15px;
  background: linear-gradient(180deg, #e9ebec 0%, #a7aaac 42%, #d4d6d7 51%, #777a7c 100%);
  box-shadow:
    inset 0 1px 1px rgba(255, 255, 255, .95),
    0 2px 1px rgba(0, 0, 0, .28);
  clip-path: polygon(5% 0, 95% 0, 100% 68%, 98% 100%, 2% 100%, 0 68%);
}

.macbook-notch {
  position: absolute;
  top: 0;
  left: 50%;
  width: 15%;
  height: 6px;
  border-radius: 0 0 7px 7px;
  background: linear-gradient(180deg, #8d9092, #d8dadb);
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, .22);
  transform: translateX(-50%);
}

.macbook-shadow {
  display: block;
  width: 84%;
  height: 19px;
  margin: -6px auto 0;
  border-radius: 50%;
  background: rgba(18, 12, 8, .26);
  filter: blur(13px);
}

/* Services */

.services-section {
  padding-block: 135px;
  background: var(--paper);
}

.services-intro {
  display: grid;
  margin-bottom: 100px;
  align-items: end;
  grid-template-columns: 1.3fr .7fr;
  gap: 8vw;
}

.services-intro .kicker {
  grid-column: 1 / -1;
  margin-bottom: -4vw;
}

.services-intro h2 {
  margin-top: 0;
}

.services-intro > p:last-child {
  max-width: 500px;
  margin: 0 0 5px;
  color: rgba(23, 21, 17, .68);
  font-size: 16px;
  line-height: 1.8;
}

.service-list {
  border-top: 1px solid var(--ink);
}

.service-row {
  display: grid;
  min-height: 145px;
  padding-block: 28px;
  align-items: center;
  border-bottom: 1px solid var(--line);
  grid-template-columns: 80px minmax(210px, .75fr) 1.25fr auto;
  gap: 34px;
  transition: padding 300ms var(--ease), background 300ms ease;
}

.service-row:hover {
  padding-right: 18px;
  padding-left: 18px;
  background: rgba(255, 255, 255, .47);
}

.service-number {
  color: var(--red);
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 22px;
  font-style: italic;
}

.service-row h3 {
  margin: 0;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(26px, 2.3vw, 38px);
  font-weight: 400;
  letter-spacing: -.04em;
}

.service-row p {
  max-width: 550px;
  margin: 0;
  color: rgba(23, 21, 17, .67);
  line-height: 1.7;
}

.service-tag {
  padding: 8px 10px;
  border: 1px solid var(--line);
  font-size: 8px;
  font-weight: 700;
  text-transform: uppercase;
  white-space: nowrap;
  letter-spacing: .13em;
}

.ownership-card {
  display: grid;
  margin-top: 86px;
  padding: 48px;
  align-items: center;
  color: var(--white);
  background: var(--red);
  grid-template-columns: 112px 1fr 1fr;
  gap: 40px;
}

.ownership-mark {
  display: grid;
  width: 94px;
  height: 94px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .42);
  border-radius: 50%;
}

.ownership-mark svg {
  width: 58px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}

.ownership-card .kicker {
  margin-bottom: 10px;
  color: rgba(255, 255, 255, .7);
}

.ownership-card h3 {
  margin: 0;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(29px, 3.2vw, 47px);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -.045em;
}

.ownership-card > p {
  max-width: 490px;
  margin: 0;
  color: rgba(255, 255, 255, .76);
  line-height: 1.8;
}

/* Process */

.process-section {
  position: relative;
  padding-block: 130px 140px;
  overflow: hidden;
  color: var(--white);
  background: var(--ink);
}

.process-section::after {
  position: absolute;
  right: -130px;
  bottom: -350px;
  width: 850px;
  height: 850px;
  content: '';
  border: 1px solid rgba(227, 93, 73, .15);
  border-radius: 50%;
  box-shadow: 0 0 0 70px rgba(227, 93, 73, .035), 0 0 0 140px rgba(227, 93, 73, .025), 0 0 0 210px rgba(227, 93, 73, .017);
}

.process-head {
  position: relative;
  z-index: 2;
  display: grid;
  margin-bottom: 80px;
  align-items: end;
  grid-template-columns: 1fr .5fr;
  gap: 8vw;
}

.process-head .kicker {
  grid-column: 1 / -1;
  margin-bottom: -4vw;
}

.process-head h2 {
  margin: 0;
  font-size: clamp(54px, 7vw, 105px);
  line-height: 1;
}

.process-head > p {
  max-width: 400px;
  margin-bottom: 11px;
  color: rgba(255, 255, 255, .56);
  font-size: 17px;
}

.process-grid {
  position: relative;
  z-index: 2;
  display: grid;
  border-top: 1px solid rgba(255, 255, 255, .24);
  grid-template-columns: repeat(3, 1fr);
}

.process-step {
  min-height: 330px;
  padding: 34px 34px 24px 0;
  border-right: 1px solid rgba(255, 255, 255, .18);
}

.process-step + .process-step {
  padding-left: 34px;
}

.process-step:last-child {
  border-right: 0;
}

.process-step > span {
  color: var(--red-light);
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 19px;
  font-style: italic;
}

.process-step h3 {
  margin: 97px 0 15px;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(30px, 3vw, 45px);
  font-weight: 400;
  letter-spacing: -.04em;
}

.process-step p {
  max-width: 345px;
  margin: 0;
  color: rgba(255, 255, 255, .59);
  line-height: 1.8;
}

/* Studio */

.studio-section {
  padding-block: 145px;
  background: var(--paper-deep);
}

.studio-grid {
  display: grid;
  align-items: center;
  grid-template-columns: 1.2fr .8fr;
  gap: 9vw;
}

.studio-title h2 {
  font-size: clamp(52px, 6.3vw, 94px);
}

.studio-title h2 em {
  display: inline-block;
  margin-left: .2em;
}

.studio-copy .large-copy {
  margin-bottom: 27px;
  color: var(--ink);
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(22px, 2.3vw, 34px);
  line-height: 1.38;
  letter-spacing: -.025em;
}

.studio-copy > p:not(.large-copy) {
  margin-bottom: 33px;
  color: rgba(23, 21, 17, .67);
  line-height: 1.8;
}

/* Contact */

.contact-section {
  position: relative;
  padding-block: 150px 120px;
  overflow: hidden;
  color: var(--white);
  background: var(--red-deep);
}

.contact-ridge {
  position: absolute;
  right: -2%;
  bottom: -1px;
  left: -2%;
  pointer-events: none;
}

.contact-ridge svg {
  width: 100%;
  height: 280px;
}

.contact-ridge path:first-child {
  fill: rgba(23, 21, 17, .16);
}

.contact-ridge path:last-child {
  fill: none;
  stroke: rgba(255, 255, 255, .13);
  stroke-width: 2;
}

.contact-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 10vw;
}

.contact-copy h2 {
  margin: 20px 0 28px;
  color: var(--white);
  font-size: clamp(52px, 6.3vw, 96px);
  line-height: .9;
}

.contact-copy > p:not(.kicker) {
  max-width: 500px;
  color: rgba(255, 255, 255, .72);
  font-size: 17px;
  line-height: 1.75;
}

.contact-email {
  display: inline-flex;
  margin-top: 20px;
  padding-bottom: 7px;
  align-items: center;
  gap: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, .5);
  font-size: clamp(15px, 1.4vw, 20px);
  font-weight: 700;
  transition: gap 200ms ease, border-color 200ms ease;
}

.contact-email:hover {
  gap: 26px;
  border-color: currentColor;
}

.inquiry-form {
  padding: 38px;
  color: var(--ink);
  background: var(--paper);
  box-shadow: 0 34px 100px rgba(25, 8, 5, .24);
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.inquiry-form label {
  display: block;
  margin-bottom: 19px;
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .13em;
}

.inquiry-form input,
.inquiry-form select,
.inquiry-form textarea {
  display: block;
  width: 100%;
  margin-top: 7px;
  padding: 12px 0;
  color: var(--ink);
  border: 0;
  border-bottom: 1px solid rgba(23, 21, 17, .31);
  border-radius: 0;
  outline: 0;
  background: transparent;
  font-size: 15px;
  text-transform: none;
  letter-spacing: normal;
  transition: border-color 180ms ease;
}

.inquiry-form textarea {
  min-height: 96px;
  resize: vertical;
}

.inquiry-form input:focus,
.inquiry-form select:focus,
.inquiry-form textarea:focus {
  border-color: var(--red);
}

.inquiry-form input::placeholder,
.inquiry-form textarea::placeholder {
  color: rgba(23, 21, 17, .4);
}

.button-submit {
  width: 100%;
  margin-top: 6px;
  color: var(--white);
  border: 0;
  background: var(--ink);
}

.button-submit:hover {
  background: var(--red);
}

.form-note {
  margin: 13px 0 0;
  color: rgba(23, 21, 17, .54);
  font-size: 10px;
  text-align: center;
}

/* Footer */

.site-footer {
  padding-block: 42px;
  color: var(--white);
  background: var(--ink);
}

.footer-inner {
  display: grid;
  align-items: center;
  grid-template-columns: 1fr 1fr auto auto;
  gap: 45px;
}

.brand-footer .brand-mark {
  width: 38px;
  height: 38px;
}

.footer-inner > p {
  margin: 0;
  color: rgba(255, 255, 255, .5);
  font-size: 10px;
  line-height: 1.7;
  text-transform: uppercase;
  letter-spacing: .12em;
}

.footer-links {
  display: flex;
  gap: 26px;
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .14em;
}

.footer-links a:hover {
  color: var(--red-light);
}

.copyright {
  text-align: right;
}

.toast {
  position: fixed;
  z-index: 300;
  right: 24px;
  bottom: 24px;
  padding: 13px 17px;
  color: var(--white);
  background: var(--ink);
  box-shadow: 0 14px 40px rgba(0, 0, 0, .24);
  font-size: 11px;
  font-weight: 700;
  transform: translateY(140%);
  transition: transform 350ms var(--ease);
}

.toast.is-visible {
  transform: translateY(0);
}

/* Reveal motion */

.js .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 800ms var(--ease), transform 800ms var(--ease);
}

.js .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */

@media (max-width: 1160px) {
  :root {
    --shell: min(100% - 48px, 1080px);
  }

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

  .hero-notes {
    max-width: 460px;
  }

  .project-grid {
    grid-template-columns: .75fr 1.25fr;
    gap: 50px;
  }

  .project-grid-reverse {
    grid-template-columns: 1.25fr .75fr;
    gap: 50px;
  }

  .project h3 {
    font-size: 62px;
  }

  .service-row {
    grid-template-columns: 55px .75fr 1.25fr;
  }

  .service-tag {
    display: none;
  }

  .ownership-card {
    grid-template-columns: 90px 1fr 1fr;
    padding: 38px;
  }

  .footer-inner {
    grid-template-columns: 1fr 1fr auto;
  }

  .copyright {
    display: none;
  }
}

@media (max-width: 900px) {
  :root {
    --shell: calc(100% - 40px);
  }

  .site-header,
  .site-header.is-scrolled {
    color: var(--ink);
    background: rgba(242, 239, 231, .96);
    border-bottom: 1px solid var(--line);
  }

  .header-inner {
    min-height: 72px;
  }

  .menu-button {
    position: relative;
    z-index: 4;
    display: grid;
    width: 44px;
    height: 44px;
    padding: 0;
    place-content: center;
    gap: 7px;
    color: var(--ink);
    border: 0;
    background: transparent;
  }

  .menu-button span:not(.sr-only) {
    display: block;
    width: 25px;
    height: 1px;
    background: currentColor;
    transition: transform 260ms ease;
  }

  .menu-button[aria-expanded="true"] span:nth-child(2) {
    transform: translateY(4px) rotate(45deg);
  }

  .menu-button[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-4px) rotate(-45deg);
  }

  .site-nav {
    position: fixed;
    top: 72px;
    right: 0;
    bottom: 0;
    left: 0;
    display: flex;
    padding: 50px 20px;
    align-items: stretch;
    flex-direction: column;
    gap: 0;
    color: var(--ink);
    background: var(--paper);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-16px);
    transition: opacity 220ms ease, transform 220ms var(--ease);
  }

  .site-nav.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .site-nav > a:not(.nav-cta) {
    padding: 17px 0;
    border-bottom: 1px solid var(--line);
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 38px;
    font-weight: 400;
    text-transform: none;
    letter-spacing: -.04em;
  }

  .site-nav > a:not(.nav-cta)::after {
    display: none;
  }

  .nav-cta {
    margin-top: 28px;
    justify-content: space-between;
  }

  .hero {
    min-height: auto;
    padding-top: 72px;
  }

  .hero-grid {
    min-height: auto;
    padding-top: 74px;
    padding-bottom: 110px;
    grid-template-columns: 1fr;
    gap: 68px;
  }

  .hero .display {
    max-width: 760px;
  }

  .hero-foot {
    position: absolute;
  }

  .contour-field {
    width: 100%;
    opacity: .8;
  }

  .section-heading,
  .services-intro,
  .process-head,
  .studio-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .section-heading {
    padding-block: 90px 70px;
  }

  .section-heading > p {
    max-width: 620px;
  }

  .project {
    padding-block: 80px;
  }

  .project-grid,
  .project-grid-reverse {
    grid-template-columns: 1fr;
    gap: 54px;
  }

  .project-grid-reverse .project-copy,
  .project-grid-reverse .macbook-link {
    order: initial;
  }

  .project-copy {
    max-width: 660px;
  }

  .services-section,
  .studio-section {
    padding-block: 100px;
  }

  .services-intro {
    margin-bottom: 70px;
  }

  .services-intro .kicker,
  .process-head .kicker {
    margin-bottom: 0;
  }

  .service-row {
    grid-template-columns: 52px .8fr 1.2fr;
    gap: 22px;
  }

  .ownership-card {
    grid-template-columns: 90px 1fr;
  }

  .ownership-card > p {
    grid-column: 2;
  }

  .process-head {
    margin-bottom: 60px;
  }

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

  .process-step,
  .process-step + .process-step {
    display: grid;
    min-height: 0;
    padding: 32px 0;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, .18);
    grid-template-columns: 60px .65fr 1fr;
    gap: 26px;
  }

  .process-step:last-child {
    border-bottom: 0;
  }

  .process-step h3 {
    margin: 0;
  }

  .process-step p {
    margin: 0;
  }

  .contact-grid {
    gap: 60px;
  }

  .contact-copy {
    max-width: 680px;
  }
}

@media (max-width: 620px) {
  :root {
    --shell: calc(100% - 30px);
  }

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

  .brand-name {
    font-size: 18px;
  }

  .hero::before {
    width: 4px;
  }

  .hero-grid {
    padding-top: 56px;
    padding-bottom: 98px;
    gap: 48px;
  }

  .eyebrow {
    max-width: 320px;
    font-size: 8px;
    line-height: 1.6;
  }

  .hero .display {
    margin-top: 21px;
    font-size: clamp(57px, 18vw, 80px);
  }

  .hero .display em {
    margin-left: .12em;
  }

  .hero-intro {
    font-size: 16px;
  }

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

  .button-primary {
    justify-content: space-between;
  }

  .text-link {
    align-self: flex-start;
  }

  .hero-notes {
    margin-top: 35px;
    flex-direction: column;
    gap: 8px;
  }

  .hero-foot p {
    display: none;
  }

  .hero-foot {
    justify-content: flex-end;
  }

  .section-heading h2,
  .services-intro h2,
  .studio-title h2 {
    font-size: 48px;
  }

  .section-heading {
    padding-block: 76px 58px;
    gap: 29px;
  }

  .project {
    padding-block: 66px;
  }

  .project h3 {
    font-size: clamp(48px, 14vw, 56px);
  }

  .project-lead {
    font-size: 15px;
  }

  .macbook-link {
    padding-bottom: 22px;
  }

  .macbook-lid {
    width: 94%;
    padding: 7px 7px 9px;
    border-radius: 12px 12px 4px 4px;
  }

  .macbook-screen {
    border-width: 3px;
    border-radius: 5px 5px 2px 2px;
  }

  .macbook-camera {
    top: 2px;
    width: 3px;
    height: 3px;
  }

  .safari-toolbar {
    height: 20px;
    padding-inline: 6px;
    gap: 3px;
  }

  .safari-toolbar i {
    width: 4px;
    height: 4px;
  }

  .safari-toolbar b {
    padding: 2px 14px;
    font-size: 5px;
  }

  .macbook-viewport {
    height: calc(100% - 20px);
  }

  .macbook-base {
    height: 14px;
    border-radius: 1px 1px 9px 9px;
  }

  .macbook-notch {
    height: 4px;
  }

  .services-section,
  .studio-section {
    padding-block: 80px;
  }

  .service-row {
    min-height: 0;
    padding-block: 26px;
    grid-template-columns: 42px 1fr;
  }

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

  .ownership-card {
    padding: 30px 24px;
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .ownership-mark {
    width: 72px;
    height: 72px;
  }

  .ownership-mark svg {
    width: 45px;
  }

  .ownership-card > p {
    grid-column: auto;
  }

  .process-section {
    padding-block: 85px;
  }

  .process-head h2 {
    font-size: 56px;
  }

  .process-step,
  .process-step + .process-step {
    grid-template-columns: 42px 1fr;
  }

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

  .studio-title h2 em {
    margin-left: 0;
  }

  .contact-section {
    padding-block: 90px 80px;
  }

  .contact-copy h2 {
    font-size: 56px;
  }

  .contact-email {
    font-size: 14px;
  }

  .inquiry-form {
    padding: 27px 22px;
  }

  .field-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .footer-inner {
    grid-template-columns: 1fr auto;
    gap: 30px;
  }

  .footer-inner > p:not(.copyright) {
    display: none;
  }

  .footer-links {
    gap: 16px;
  }
}

@media (max-width: 360px) {
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .footer-links {
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  .copyright {
    text-align: left;
  }
}

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

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

  .js .reveal {
    opacity: 1;
    transform: none;
  }
}
