:root {
  color-scheme: light;
  --page: #f9f6f4;
  --ink: #050505;
  --muted: #62605f;
  --line: #dedbd8;
}

* {
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  height: 100%;
  overflow: hidden;
  overscroll-behavior: none;
}

html {
  scroll-behavior: smooth;
}

body {
  position: fixed;
  inset: 0;
  margin: 0;
  min-width: 0;
  min-height: 0;
  color: var(--ink);
  background: var(--page);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Helvetica Neue", Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
}

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

button,
input {
  font: inherit;
}

.site-stage {
  position: fixed;
  top: 0;
  left: var(--stage-left, 0px);
  width: 1672px;
  height: 941px;
  overflow: hidden;
  background: var(--page);
  transform: scale(var(--stage-scale, 1));
  transform-origin: top left;
}

.site-header {
  width: 100%;
  height: 95px;
  padding: 24px 42px 0;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}

.wordmark {
  display: inline-flex;
  align-items: flex-start;
  font-size: 39px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -2.35px;
  white-space: nowrap;
  transform: translateY(6px);
}

/* ── Parent-company line under the wordmark ────────────────────────────── */
.wordmark-wrap {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
}

.parent-brand {
  font-size: 11px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.03em;
  color: var(--muted);
  white-space: nowrap;
  transform: translateY(2px);
}

.parent-brand b {
  font-weight: 600;
  color: var(--ink);
}


.desktop-nav {
  display: flex;
  align-items: center;
  gap: 59px;
  margin-top: 0;
  font-size: 17px;
  line-height: 46px;
  letter-spacing: -0.45px;
}

.desktop-nav > a:not(.sign-in) {
  transition: opacity 160ms ease;
}

.desktop-nav > a:not(.sign-in):hover {
  opacity: 0.58;
}

.sign-in,
.preview-button {
  color: #fff;
  background: #050505;
  border: 0;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.05);
}

.sign-in {
  min-width: 98px;
  height: 46px;
  margin-left: -12px;
  padding: 0 22px;
  border-radius: 11px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  cursor: pointer;
}

.menu-toggle,
.mobile-nav {
  display: none;
}

.hero {
  width: 100%;
}

.hero-title {
  margin: 5px auto 0;
  max-width: 950px;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 112px;
  font-weight: 500;
  line-height: 0.91;
  letter-spacing: -5.9px;
  text-align: center;
}

.hero-title span {
  display: block;
}

.hero-title > span:first-child {
  transform: translateX(-5.5px) scaleX(1.02);
}

.hero-title > span:last-child {
  transform: translate(0.5px, 1px) scaleX(1.054);
}

.hero-title strong {
  font: inherit;
  color: transparent;
  background: linear-gradient(100deg, #111 7%, #626262 95%);
  background-clip: text;
  -webkit-background-clip: text;
}

.process {
  position: relative;
  width: 1012px;
  height: 189px;
  margin: 18px auto 0;
}

.process-step,
.free-step,
.process-arrow {
  position: absolute;
}

.process-step {
  top: 0;
  height: 189px;
}

.step-art {
  height: 158px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.step-art img,
.free-step img {
  display: block;
}

.step-label {
  position: absolute;
  top: 169px;
  right: 0;
  left: 0;
  margin: 0;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 19px;
  font-weight: 500;
  line-height: 21px;
  letter-spacing: -0.55px;
  text-align: center;
  white-space: nowrap;
}

.old-step {
  left: 0;
  width: 184px;
}

.old-step .step-label {
  transform: translateX(2px);
}

.free-step {
  top: 1px;
  left: 306px;
  width: 131px;
  height: 158px;
}

.time-step {
  left: 548px;
  width: 138px;
}

.time-step .step-label {
  transform: translateX(1px);
}

.time-step .step-art img {
  margin-bottom: 21px;
}

.new-step {
  left: 818px;
  width: 193px;
}

.new-step .step-art img {
  transform: translateY(2px);
}

.new-step .step-label {
  transform: translateX(-1px);
}

.process-arrow {
  top: 76px;
  width: 36px;
  height: 23px;
  display: block;
}

.arrow-one {
  left: 233px;
}

.arrow-two {
  left: 475px;
}

.arrow-three {
  left: 731px;
}

.lead-form {
  position: relative;
  width: 946px;
  height: 65px;
  margin: 29px auto 0;
  display: flex;
  gap: 8px;
}

.form-field {
  height: 65px;
  display: flex;
  align-items: center;
  gap: 16px;
  border: 1px solid #e8e6e7;
  background: #fefefe;
}

.url-field {
  width: 350px;
  padding: 0 26px;
  border-radius: 11px;
}

.email-field {
  width: 353px;
  margin-left: 0;
  padding: 0 26px;
  border-radius: 11px;
}

.field-icon {
  display: block;
  flex: 0 0 auto;
  transform: translateY(-1px);
}

.form-field input {
  width: 100%;
  min-width: 0;
  padding: 0;
  color: #111;
  background: transparent;
  border: 0;
  outline: 0;
  font-size: 17px;
  letter-spacing: -0.24px;
}

.form-field input::placeholder {
  color: #686665;
  opacity: 1;
}

.form-field:focus-within {
  position: relative;
  z-index: 1;
  border-color: #8e8b88;
}

.preview-button {
  width: 227px;
  height: 65px;
  margin-left: 0;
  padding: 0 20px;
  border-radius: 10px;
  cursor: pointer;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 20px;
  letter-spacing: -0.45px;
  white-space: nowrap;
  transition: transform 150ms ease, background 150ms ease;
}

.preview-button:hover {
  background: #1b1b1b;
}

.preview-button:active {
  transform: scale(0.985);
}

.form-status {
  position: fixed;
  z-index: 80;
  right: 24px;
  bottom: 24px;
  width: min(390px, calc(100vw - 32px));
  padding: 15px 18px;
  margin: 0;
  color: #30482c;
  background: #dce9d9;
  border: 1px solid #cdddc9;
  border-radius: 11px;
  box-shadow: 0 14px 44px rgba(0, 0, 0, 0.13);
  font-size: 14px;
  line-height: 1.4;
}

.form-status:empty {
  display: none;
}

.form-status a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.work {
  position: relative;
  margin: 15px 42px 0;
  border-top: 1px solid var(--line);
}

.work-heading {
  height: 44px;
  padding-top: 11px;
  display: flex;
  align-items: flex-start;
  gap: 22px;
}

.work-heading h2 {
  margin: 0;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 17px;
  font-weight: 500;
  line-height: 24px;
  letter-spacing: -0.48px;
}

.work-heading > svg {
  width: 22px;
  height: 22px;
  margin-top: 1px;
  fill: none;
  stroke: #111;
  stroke-width: 1.65;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.portfolio-controls {
  position: absolute;
  top: 9px;
  right: 0;
  height: 38px;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 4px;
}

.portfolio-button {
  width: 38px;
  height: 38px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #111;
  background: transparent;
  border: 1px solid #cbc8c5;
  border-radius: 50%;
  cursor: pointer;
  transition: color 150ms ease, background 150ms ease, border-color 150ms ease;
}

.portfolio-button:hover:not(:disabled) {
  color: #fff;
  background: #050505;
  border-color: #050505;
}

.portfolio-button:disabled {
  cursor: default;
  opacity: 0.3;
}

.portfolio-button:focus-visible,
.portfolio-dot:focus-visible {
  outline: 2px solid #050505;
  outline-offset: 2px;
}

.portfolio-button svg {
  width: 17px;
  height: 17px;
  margin: 0;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.portfolio-page {
  min-width: 48px;
  font-size: 12px;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
  text-align: center;
}

.portfolio-dots {
  display: flex;
  align-items: center;
}

.portfolio-dot {
  position: relative;
  width: 20px;
  height: 38px;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
}

.portfolio-dot::after {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 6px;
  height: 6px;
  content: "";
  background: #c3c0bd;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 160ms ease, background 160ms ease;
}

.portfolio-dot[aria-current="page"]::after {
  width: 15px;
  background: #050505;
  border-radius: 999px;
}

.project-viewport {
  width: 795px;
  height: 259px;
  margin: 0 auto;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  overscroll-behavior-inline: contain;
}

.project-viewport::-webkit-scrollbar {
  display: none;
}

.project-viewport:focus-visible {
  outline: 2px solid #050505;
  outline-offset: 4px;
}

.project-grid {
  height: 100%;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 389px;
  gap: 17px;
}

.project-slide {
  width: 100%;
  height: 259px;
  min-width: 0;
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

.project {
  position: relative;
  width: 100%;
  height: 100%;
  display: block;
  overflow: hidden;
  border-radius: 9px;
  background: #fff;
  transition: filter 220ms ease;
}

.project:hover {
  filter: saturate(1.04);
}

.project:focus-visible {
  outline: 3px solid #050505;
  outline-offset: -3px;
}

.project img {
  display: block;
  width: 100%;
  height: 259px;
  object-fit: cover;
  object-position: top center;
}

.project-caption {
  position: absolute;
  right: 14px;
  bottom: 14px;
  left: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 11px;
  color: #fff;
  background: rgba(5, 5, 5, 0.88);
  border-radius: 999px;
  font-size: 12px;
  line-height: 1;
  letter-spacing: -0.1px;
  opacity: 0;
  transform: translateY(5px);
  transition: opacity 160ms ease, transform 160ms ease;
}

.project:hover .project-caption,
.project:focus-visible .project-caption {
  opacity: 1;
  transform: translateY(0);
}

@media (hover: none) {
  .project-caption {
    opacity: 1;
    transform: translateY(0);
  }
}

.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;
}

@media (max-width: 900px) and (orientation: portrait),
  (max-width: 1000px) and (max-height: 600px) and (orientation: landscape) {
  html,
  body {
    width: 100%;
    height: auto;
    min-height: 100%;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior-x: none;
    overscroll-behavior-y: auto;
  }

  body {
    position: relative;
    inset: auto;
    min-height: 100svh;
    overflow: visible;
  }

  .site-stage {
    position: relative;
    inset: auto;
    left: auto;
    width: 100%;
    height: auto;
    min-height: 100svh;
    overflow: visible;
    background: var(--page);
    transform: none;
  }

  .site-header {
    position: sticky;
    z-index: 30;
    top: 0;
    width: 100%;
    height: 64px;
    padding: 0 16px;
    align-items: center;
    background: rgba(249, 246, 244, 0.92);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
  }

  .wordmark {
    font-size: clamp(27px, 4vw, 32px);
    line-height: 1;
    letter-spacing: -1.65px;
    transform: none;
  }

  .parent-brand {
    font-size: 9px;
    transform: none;
  }

  .desktop-nav {
    display: none;
  }

  .menu-toggle {
    width: 44px;
    height: 44px;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 7px;
    color: #fff;
    background: #050505;
    border: 0;
    border-radius: 10px;
    cursor: pointer;
  }

  .menu-toggle span:not(.sr-only) {
    width: 18px;
    height: 1.5px;
    background: currentColor;
  }

  .mobile-nav {
    position: fixed;
    z-index: 40;
    top: 58px;
    right: 16px;
    width: 188px;
    padding: 12px;
    flex-direction: column;
    gap: 4px;
    color: #fff;
    background: #050505;
    border-radius: 12px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.22);
  }

  .mobile-nav:not([hidden]) {
    display: flex;
  }

  .mobile-nav a,
  .mobile-nav button {
    width: 100%;
    min-height: 44px;
    padding: 11px 10px;
    display: flex;
    align-items: center;
    color: inherit;
    background: transparent;
    border: 0;
    border-radius: 7px;
    font-size: 16px;
    text-align: left;
  }

  .mobile-nav a:hover,
  .mobile-nav a:focus-visible,
  .mobile-nav button:hover,
  .mobile-nav button:focus-visible {
    background: #202020;
    outline: 0;
  }

  #about,
  #how-it-works,
  #preview-form {
    scroll-margin-top: 76px;
  }

  main {
    min-height: 0;
    overflow: visible;
  }

  .hero-title > span:first-child,
  .hero-title > span:last-child {
    transform: none;
  }

  .lead-form {
    position: relative;
    width: calc(100% - 32px);
    max-width: 430px;
    height: auto;
    margin: 32px auto 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
  }

  .url-field,
  .email-field,
  .preview-button {
    width: 100%;
    height: 56px;
    margin: 0;
    border-radius: 12px;
  }

  .url-field,
  .email-field {
    padding: 0 17px;
    gap: 12px;
  }

  .field-icon {
    width: auto;
    max-width: 20px;
    height: auto;
  }

  .form-field input {
    font-size: 16px;
    letter-spacing: -0.2px;
  }

  .preview-button {
    padding: 0 18px;
    font-size: 17px;
    letter-spacing: -0.3px;
  }

  .work {
    position: relative;
    width: calc(100% - 32px);
    margin-right: auto;
    margin-left: auto;
    border-top: 1px solid var(--line);
  }

  .work-heading {
    height: 58px;
    padding-top: 15px;
    align-items: flex-start;
    gap: 10px;
  }

  .work-heading h2 {
    font-size: 15px;
    line-height: 22px;
    letter-spacing: -0.35px;
  }

  .work-heading > svg {
    width: 18px;
    height: 18px;
    margin-top: 2px;
  }

  .project-viewport {
    height: auto;
    margin: 0;
    scroll-padding-inline: 0;
  }

  .project-grid {
    height: auto;
    gap: 12px;
  }

  .project-slide {
    height: 100%;
  }

  .project {
    display: grid;
    grid-template-rows: minmax(0, 1fr) 38px;
    border: 1px solid var(--line);
    border-radius: 10px;
  }

  .project img {
    width: 100%;
    height: 100%;
    min-height: 0;
    object-fit: cover;
    object-position: top center;
  }

  .project-caption {
    position: static;
    display: flex;
    padding: 0 12px;
    color: #111;
    background: #fff;
    border-radius: 0;
    font-size: 12px;
    line-height: 1;
    opacity: 1;
    transform: none;
  }

  .portfolio-controls {
    position: static;
    width: max-content;
    height: 48px;
    margin: 14px auto max(40px, env(safe-area-inset-bottom));
    gap: 4px;
  }

  .portfolio-button {
    width: 44px;
    height: 44px;
  }

  .portfolio-button svg {
    width: 18px;
    height: 18px;
  }

  .portfolio-page {
    min-width: 50px;
    font-size: 12px;
  }

  .portfolio-dot {
    width: 24px;
    height: 44px;
  }
}

@media (max-width: 900px) and (orientation: portrait) {
  .hero {
    padding: 0 16px;
  }

  .hero-title {
    max-width: 430px;
    margin: 24px auto 0;
    font-size: clamp(41px, 12.8vw, 55px);
    line-height: 0.91;
    letter-spacing: -0.057em;
    white-space: nowrap;
  }

  .lead-form {
    width: 100%;
  }

  .process {
    position: relative;
    width: 100%;
    max-width: 430px;
    height: 160px;
    margin: 30px auto 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 22px minmax(0, 1fr) 22px minmax(0, 1fr);
    align-items: start;
  }

  .process-step,
  .process-arrow {
    position: relative;
    inset: auto;
    width: auto;
    transform: none;
  }

  .process-step {
    grid-row: 1;
    height: 160px;
  }

  .old-step {
    grid-column: 1;
  }

  .time-step {
    grid-column: 3;
  }

  .new-step {
    grid-column: 5;
  }

  .step-art {
    height: 120px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
  }

  .old-step .step-art img,
  .new-step .step-art img {
    width: 100%;
    max-width: 104px;
    height: auto;
  }

  .new-step .step-art img {
    transform: none;
  }

  .time-step .step-art img {
    width: 43px;
    height: auto;
    margin: 0 0 10px;
  }

  .step-label,
  .old-step .step-label,
  .time-step .step-label,
  .new-step .step-label {
    position: static;
    margin: 10px 0 0;
    transform: none;
    font-size: clamp(10.5px, 3vw, 12px);
    line-height: 16px;
    letter-spacing: -0.25px;
    text-align: center;
    white-space: nowrap;
  }

  .process-arrow {
    grid-row: 1;
    top: auto;
    width: 22px;
    height: auto;
    margin-top: 64px;
  }

  .arrow-one {
    grid-column: 2;
  }

  .arrow-two {
    display: none;
  }

  .arrow-three {
    grid-column: 4;
  }

  .free-step {
    position: absolute;
    z-index: 2;
    top: 0;
    left: 32%;
    width: 52px;
    height: 63px;
    transform: translateX(-50%);
  }

  .free-step img {
    width: 52px;
    height: auto;
  }

  .work {
    max-width: 430px;
    margin-top: 48px;
  }

  .project-viewport {
    width: 100%;
  }

  .project-grid {
    grid-auto-columns: 100%;
  }

  .project-slide {
    height: clamp(225px, 70vw, 285px);
  }
}

@media (max-width: 1000px) and (max-height: 600px) and (orientation: landscape) {
  .hero {
    padding: 26px 16px 0;
    display: grid;
    grid-template-columns: minmax(250px, 0.8fr) minmax(370px, 1.2fr);
    column-gap: 26px;
    align-items: start;
  }

  .hero-title {
    max-width: none;
    margin: 9px 0 0;
    font-size: clamp(40px, 5.45vw, 52px);
    line-height: 0.91;
    letter-spacing: -0.057em;
    text-align: left;
    white-space: nowrap;
  }

  .process {
    position: relative;
    width: 100%;
    max-width: 500px;
    height: 160px;
    margin: 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 22px minmax(0, 1fr) 22px minmax(0, 1fr);
    align-items: start;
  }

  .process-step,
  .process-arrow {
    position: relative;
    inset: auto;
    width: auto;
    transform: none;
  }

  .process-step {
    grid-row: 1;
    height: 160px;
  }

  .old-step {
    grid-column: 1;
  }

  .time-step {
    grid-column: 3;
  }

  .new-step {
    grid-column: 5;
  }

  .step-art {
    height: 120px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
  }

  .old-step .step-art img,
  .new-step .step-art img {
    width: 100%;
    max-width: 104px;
    height: auto;
  }

  .new-step .step-art img {
    transform: none;
  }

  .time-step .step-art img {
    width: 43px;
    height: auto;
    margin: 0 0 10px;
  }

  .step-label,
  .old-step .step-label,
  .time-step .step-label,
  .new-step .step-label {
    position: static;
    margin: 10px 0 0;
    transform: none;
    font-size: 12px;
    line-height: 16px;
    letter-spacing: -0.25px;
    text-align: center;
    white-space: nowrap;
  }

  .process-arrow {
    grid-row: 1;
    width: 22px;
    height: auto;
    margin-top: 64px;
  }

  .arrow-one {
    grid-column: 2;
  }

  .arrow-two {
    display: none;
  }

  .arrow-three {
    grid-column: 4;
  }

  .free-step {
    position: absolute;
    z-index: 2;
    top: 0;
    left: 32%;
    width: 52px;
    height: 63px;
    transform: translateX(-50%);
  }

  .free-step img {
    width: 52px;
    height: auto;
  }

  .lead-form {
    grid-column: 1 / -1;
    width: 100%;
    max-width: 480px;
    margin-top: 32px;
  }

  .work {
    max-width: 812px;
    margin-top: 48px;
  }

  .project-viewport {
    width: 100%;
  }

  .project-grid {
    grid-auto-columns: calc((100% - 12px) / 2);
  }

  .project-slide {
    height: 230px;
  }
}

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

  .project-viewport {
    scroll-behavior: auto;
  }

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

/* Simple featured work */
.work {
  margin-top: 42px;
}

.work-heading {
  height: 34px;
  padding-top: 0;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.featured-projects {
  width: min(1280px, 100%);
  height: 180px;
  margin: 7px auto 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.featured-project {
  position: relative;
  min-width: 0;
  height: 180px;
  display: block;
  overflow: hidden;
  background: #fff;
  border-radius: 9px;
}

.featured-project[hidden] {
  display: none;
}

.featured-project:focus-visible {
  outline: 3px solid #050505;
  outline-offset: -3px;
}

.featured-project img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: top center;
  transition: filter 180ms ease;
}

.featured-project:hover img {
  filter: saturate(1.04);
}

.featured-project:hover .project-caption,
.featured-project:focus-visible .project-caption {
  opacity: 1;
  transform: translateY(0);
}

.featured-footer {
  height: 38px;
  margin: 10px auto 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.featured-pagination {
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.featured-pagination[hidden] {
  display: none;
}

.featured-pagination button {
  width: 38px;
  height: 38px;
  padding: 0;
  color: var(--ink);
  background: transparent;
  border: 1px solid #cbc8c5;
  border-radius: 50%;
  cursor: pointer;
}

.featured-pagination button:hover:not(:disabled) {
  color: #fff;
  background: var(--ink);
  border-color: var(--ink);
}

.featured-pagination button[aria-current="page"] {
  color: #fff;
  background: var(--ink);
  border-color: var(--ink);
}

.featured-pagination button:disabled {
  cursor: default;
  opacity: 0.3;
}

.featured-page-buttons {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.all-websites-button {
  width: auto;
  min-width: 82px;
  height: 38px;
  margin: 0;
  padding: 0 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  background: transparent;
  border: 1px solid #cbc8c5;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.25px;
  transition: color 150ms ease, background-color 150ms ease, border-color 150ms ease, transform 150ms ease;
}

.all-websites-button:hover {
  color: #fff;
  background: var(--ink);
  border-color: var(--ink);
}

.all-websites-button:active {
  transform: scale(0.985);
}

@media (max-width: 900px) and (orientation: portrait),
  (max-width: 1000px) and (max-height: 600px) and (orientation: landscape) {
  .work {
    margin-top: 60px;
  }

  .work-heading {
    height: 46px;
    padding-top: 0;
    align-items: center;
    justify-content: center;
    text-align: center;
  }

  .work-heading h2 {
    font-size: 16px;
  }

  .featured-projects {
    width: 100%;
    height: auto;
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .featured-project {
    height: clamp(205px, 58vw, 235px);
    display: grid;
    grid-template-rows: minmax(0, 1fr) 38px;
    border: 1px solid var(--line);
    border-radius: 10px;
  }

  .featured-project img {
    min-height: 0;
  }

  .featured-project .project-caption {
    position: static;
    padding: 0 12px;
    color: #111;
    background: #fff;
    border-radius: 0;
    font-size: 12px;
    opacity: 1;
    transform: none;
  }

  .featured-footer {
    width: 100%;
    height: auto;
    margin: 14px auto max(40px, env(safe-area-inset-bottom));
    flex-wrap: wrap;
    gap: 8px;
  }

  .featured-pagination {
    height: 44px;
  }

  .featured-pagination button {
    width: 44px;
    height: 44px;
  }

  .all-websites-button {
    min-width: 76px;
    height: 44px;
    padding: 0 13px;
    font-size: 13px;
  }
}

@media (max-width: 360px) and (orientation: portrait) {
  .featured-pagination > button {
    display: none;
  }
}
