:root {
  --paper: #f6f3ed;
  --white: #fcfaf6;
  --ink: #22231f;
  --muted: #5c5b54;
  --line: #d3cdc2;
  --accent: #a63719;
  --accent-hover: #812a14;
  --accent-wash: #f4e3d8;
  --dark: #252622;
  --dark-muted: #d5d1c8;
  --sans: "Segoe UI", system-ui, sans-serif;
  --display: Arial, Helvetica, sans-serif;
}

* { box-sizing: border-box; }
html { color-scheme: light; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
}
img { display: block; max-width: 100%; height: auto; }
figure, p, h1, h2, dl, dd { margin: 0; }
a { color: inherit; }
a:focus-visible, summary:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 5px;
}
.shell { width: min(100% - 112px, 1320px); margin-inline: auto; }
.skip-link {
  position: fixed;
  z-index: 3;
  top: 8px;
  left: 8px;
  padding: 10px 14px;
  transform: translateY(-160%);
  color: var(--white);
  background: var(--dark);
}
.skip-link:focus { transform: none; }

.site-header { border-bottom: 1px solid var(--line); }
.header-inner {
  min-height: 83px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.brand {
  display: inline-flex;
  align-items: baseline;
  gap: 13px;
  text-decoration: none;
  white-space: nowrap;
}
.wordmark {
  font-family: var(--display);
  font-size: 29px;
  font-weight: 800;
  letter-spacing: -.085em;
  line-height: 1;
}
.wordmark span, h1 span { color: var(--accent); }
.brand-service {
  padding-left: 13px;
  border-left: 1px solid var(--line);
  font-size: 14px;
  font-weight: 600;
}
.main-nav, .site-footer nav {
  display: flex;
  align-items: center;
  gap: 30px;
  font-size: 15px;
  font-weight: 650;
}
.main-nav a, .site-footer nav a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}
.main-nav a:hover, .main-nav a[aria-current="page"],
.site-footer nav a:hover, .site-footer nav a[aria-current="page"] {
  color: var(--accent);
}
.main-nav a[aria-current="page"] {
  border-radius: 3px;
  background: var(--accent-wash);
  text-decoration: underline;
  text-underline-offset: 5px;
  box-shadow: 0 0 0 6px var(--accent-wash);
}
.main-nav .nav-enquire {
  padding: 0 17px;
  border: 1px solid var(--ink);
  border-radius: 3px;
}

h1, h2 {
  font-family: var(--display);
  font-weight: 750;
  letter-spacing: -.064em;
  text-wrap: balance;
}
h1 { font-size: clamp(52px, 7.1vw, 107px); line-height: .96; }
h2 { font-size: clamp(38px, 4.2vw, 63px); line-height: 1.01; }
.section-label {
  font-size: 14px;
  font-weight: 650;
  color: var(--accent);
  margin-bottom: 20px;
}
.actions { display: flex; align-items: center; flex-wrap: wrap; gap: 23px; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 51px;
  width: fit-content;
  padding: 10px 21px;
  border-radius: 3px;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  transition: background-color .18s ease;
}
.button-primary { background: var(--accent); color: var(--white); }
.button-primary:hover { background: var(--accent-hover); }
.button-light { background: var(--white); color: var(--accent-hover); }
.button-light:hover { background: #f7e5da; }
.home-pricing a:focus-visible { outline-color: var(--white); }
.text-link {
  font-size: 15px;
  font-weight: 700;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
}
.text-link:hover { color: var(--accent); }

.hero {
  display: grid;
  grid-template-columns: minmax(0, .78fr) minmax(0, 1.22fr);
  gap: clamp(34px, 5vw, 77px);
  align-items: center;
  padding-top: clamp(62px, 7.4vw, 104px);
  padding-bottom: clamp(76px, 8vw, 119px);
}
.hero h1 { font-size: clamp(48px, 6vw, 86px); text-wrap: initial; }
.hero-description, .section-heading > p:not(.section-label) {
  max-width: 38ch;
  margin-top: 26px;
  color: var(--muted);
  font-size: clamp(17px, 1.4vw, 20px);
  line-height: 1.55;
}
.hero .actions, .section-heading .actions { margin-top: 29px; }
.featured-project { min-width: 0; }
.project-link { display: block; text-decoration: none; }
.project-stage {
  position: relative;
  isolation: isolate;
  display: grid;
  align-items: center;
  aspect-ratio: 1.37;
  overflow: hidden;
  border-radius: 5px;
  background:
    radial-gradient(ellipse at 19% 2%, #f7ece0 0, #e9d7c7 55%, #d8bda8 100%);
}
.browser-frame {
  width: 82%;
  margin-left: 6%;
  overflow: hidden;
  border: 1px solid #d7d0c9;
  border-radius: 9px;
  background: #eae7e1;
  box-shadow: 0 20px 45px #53392738, 0 4px 10px #5339271a;
  transition: transform .3s ease;
}
.browser-bar {
  min-height: 25px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #63625e;
  background: #ece9e4;
  font-size: 10px;
}
.browser-buttons { position: absolute; left: 10px; display: flex; gap: 4px; }
.browser-buttons i { width: 5px; height: 5px; border-radius: 50%; background: #a8a09a; }
.browser-frame img { width: 100%; }
.phone-frame {
  position: absolute;
  right: 5.5%;
  bottom: 8.5%;
  width: 23%;
  padding: 4px;
  overflow: hidden;
  border: 1px solid #646260;
  border-radius: clamp(10px, 1.4vw, 18px);
  background: #222;
  box-shadow: 0 13px 26px #3e2c2460, 0 3px 6px #3e2c2446;
  transition: transform .3s ease;
}
.phone-frame img { width: 100%; border-radius: clamp(6px, 1vw, 13px); }
.project-link:hover .browser-frame { transform: translateY(-3px); }
.project-link:hover .phone-frame { transform: translateY(-7px); }
.project-caption {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 12px;
  padding-top: 15px;
}
.caption-label { display: block; font-size: 14px; color: var(--muted); }
.project-caption strong {
  display: block;
  margin-top: 2px;
  font-family: var(--display);
  font-size: clamp(19px, 1.8vw, 26px);
  letter-spacing: -.044em;
  line-height: 1.15;
}
.project-caption .text-link { flex: 0 0 auto; }
.project-summary { margin-top: 8px; max-width: 60ch; color: var(--muted); }

.home-services {
  background: var(--dark);
  color: var(--white);
  padding-block: clamp(66px, 8vw, 113px);
}
.services-layout {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1fr);
  gap: clamp(40px, 7vw, 100px);
}
.home-services .section-label { color: #f2a281; }
.home-services .section-heading p:not(.section-label) { color: var(--dark-muted); }
.services-list > div { padding: 19px 0; border-top: 1px solid #575650; }
.services-list > div:last-child { border-bottom: 1px solid #575650; }
.services-list dt { font-size: 21px; font-weight: 680; line-height: 1.25; }
.services-list dd { margin-top: 6px; color: var(--dark-muted); }
.home-pricing {
  background: var(--accent);
  color: var(--white);
}
.home-pricing-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-block: clamp(39px, 6vw, 79px);
}
.home-pricing h2 { font-size: clamp(37px, 5vw, 64px); }
.home-pricing p { margin-top: 14px; font-size: clamp(1rem, 1.6vw, 1.2rem); }
.home-pricing .button { flex: 0 0 auto; }
.media-callout {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr);
  align-items: center;
  gap: clamp(32px, 7vw, 100px);
  padding-block: clamp(62px, 8vw, 110px);
}
.media-callout p:last-child { margin-top: 16px; color: var(--muted); font-size: 18px; max-width: 36ch; }
.enquiry-band {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 23px;
  padding-block: clamp(43px, 6vw, 85px);
  border-top: 1px solid var(--line);
}
.enquiry-band h2 { font-size: clamp(34px, 5vw, 57px); text-wrap: initial; }
.enquiry-band p { color: var(--muted); margin-top: 12px; }
.enquiry-band .button { flex: 0 0 auto; }
.site-footer { border-top: 1px solid var(--line); background: #ede8df; }
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px 32px;
  padding-block: 33px;
}
.footer-inner p { color: var(--muted); margin-top: 9px; font-size: 14px; }

.page-work { overflow-anchor: none; }
.case-studies { padding-top: clamp(28px, 5vw, 64px); }
.case-studies h1 {
  margin-bottom: clamp(22px, 3vw, 38px);
  font-size: clamp(49px, 7.2vw, 90px);
}
.case-study { border-top: 1px solid var(--line); scroll-margin-top: 1rem; }
.case-study-summary {
  list-style: none;
  cursor: pointer;
}
.case-study-summary::-webkit-details-marker { display: none; }
.case-study-summary::marker { content: ""; }
.case-study-heading {
  display: grid;
  grid-template-columns: clamp(61px, 12vw, 108px) minmax(0, 1fr) 44px;
  align-items: center;
  gap: clamp(10px, 2.1vw, 22px);
  min-height: 84px;
  padding-block: 13px;
  font-size: clamp(21px, 3.2vw, 36px);
  line-height: 1.06;
  text-wrap: initial;
}
.case-study-thumb { width: 100%; border-radius: 3px; }
.case-study-role {
  display: block;
  margin-bottom: 4px;
  color: var(--accent);
  font: 700 13px/1.3 var(--sans);
  letter-spacing: normal;
}
.case-study-toggle {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--accent-wash);
  color: var(--accent);
  font: 24px/1 var(--display);
}
.case-study-toggle::before { content: "+"; }
.case-study[open]:not(.case-study-closing) .case-study-toggle::before { content: "−"; }
.case-study-content, .case-study-content-inner { display: flow-root; }
.case-study-animating .case-study-content { overflow: hidden; }
.case-study-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(18px, 3vw, 32px);
  padding-block: 4px clamp(26px, 4vw, 42px);
}
.case-study .project-stage { aspect-ratio: 1.64; background: #e8dbcb; }
.captured-project-stage .browser-frame { border-color: #34302c; }
.case-study-copy h3 {
  margin: 0;
  font: 750 clamp(25px, 3vw, 34px)/1.05 var(--display);
  letter-spacing: -.055em;
  text-wrap: balance;
}
.case-study-copy p { margin-top: 10px; color: var(--muted); }
.case-study-copy .button { margin-top: 17px; }
.contact-layout h1 { font-size: clamp(50px, 6.4vw, 93px); text-wrap: initial; }
.client-testimonial {
  max-width: 960px;
  margin-bottom: clamp(24px, 4vw, 42px);
  padding: clamp(18px, 3vw, 32px);
  border-top: 3px solid var(--accent);
  border-radius: 4px;
  background: var(--accent-wash);
}
.client-testimonial figcaption { color: var(--accent); font-weight: 700; font-size: 15px; }
.client-testimonial blockquote {
  margin: 18px 0 24px;
  max-width: 54ch;
  font-size: clamp(16px, 1.6vw, 20px);
  line-height: 1.48;
}
.client-testimonial blockquote p + p { margin-top: 12px; }
.testimonial-attribution { display: flex; align-items: center; gap: 14px; }
.testimonial-attribution img {
  flex: 0 0 auto;
  width: clamp(56px, 7.5vw, 72px);
  height: auto;
  padding: 6px;
  border: 1px solid #e3cdbf;
  border-radius: 4px;
  background: var(--white);
}
.testimonial-attribution span { display: block; color: var(--muted); font-size: 14px; }
.portfolio-section { padding-block: clamp(38px, 6vw, 75px); border-top: 1px solid var(--line); }
.portfolio-section h2 { font-size: clamp(34px, 5vw, 57px); text-wrap: initial; }
.managed-portfolio { border-top: 1px solid var(--line); padding-block: clamp(20px, 3vw, 30px); }
.managed-portfolio h2 { font-size: clamp(22px, 3.2vw, 30px); }
.managed-sites { list-style: none; padding: 0; margin: 9px 0 0; }
.managed-sites li + li { border-top: 1px solid var(--line); }
.managed-sites a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 44px;
  font-size: 14px;
  font-weight: 650;
  text-decoration: none;
}
.managed-site-action { color: var(--muted); text-decoration: underline; text-underline-offset: 4px; white-space: nowrap; }
.managed-sites a:hover .managed-site-action { color: var(--accent); }
.portfolio-demos { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 18px; }
.portfolio-demos p { margin-top: 9px; color: var(--muted); }

.page-intro { padding-top: clamp(61px, 8.5vw, 117px); padding-bottom: clamp(36px, 6vw, 70px); }
.page-intro p { color: var(--muted); font-size: 19px; margin-top: 22px; max-width: 42ch; }
.privacy-page { padding-bottom: clamp(60px, 8vw, 110px); }
.privacy-page h1 { margin-top: 22px; }
.privacy-copy { max-width: 72ch; }
.privacy-copy section + section { margin-top: 36px; }
.privacy-copy h2 { font-size: clamp(26px, 4vw, 39px); letter-spacing: -.038em; text-wrap: initial; }
.privacy-copy p { margin-top: 13px; }
.privacy-copy a { overflow-wrap: anywhere; }
.privacy-updated { padding-top: 20px; color: var(--muted); font-size: 14px; }
.public-contact-actions { margin-top: 23px; }
.faq-layout {
  display: grid;
  grid-template-columns: minmax(175px, .31fr) minmax(0, 1fr);
  gap: clamp(20px, 5vw, 75px);
  margin-bottom: clamp(64px, 9vw, 120px);
  padding-top: 23px;
  border-top: 1px solid var(--line);
}
.faq-index { align-self: start; position: sticky; top: 23px; }
.faq-index h2 {
  font: 700 15px/1.4 var(--sans);
  letter-spacing: 0;
  margin-bottom: 6px;
}
.faq-index ul { list-style: none; padding: 0; margin: 0; }
.faq-index a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  color: var(--muted);
  font-size: 15px;
  text-decoration: none;
}
.faq-index a:hover { color: var(--accent); text-decoration: underline; }
.faq-group { scroll-margin-top: 24px; }
.faq-group + .faq-group { margin-top: 50px; }
.faq-group h2 { font-size: clamp(26px, 3.5vw, 42px); margin: 0 0 15px; text-wrap: initial; }
.faq-group details { border-top: 1px solid var(--line); }
.faq-group details:last-child { border-bottom: 1px solid var(--line); }
.faq-group summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  min-height: 57px;
  padding-block: 13px;
  list-style: none;
  cursor: pointer;
  font-size: clamp(16px, 1.5vw, 19px);
  font-weight: 650;
}
.faq-group summary::-webkit-details-marker { display: none; }
.faq-group summary::after {
  content: "";
  flex: 0 0 17px;
  width: 17px;
  height: 17px;
  margin-right: 4px;
  background: linear-gradient(currentColor, currentColor) center / 15px 1.5px no-repeat,
    linear-gradient(currentColor, currentColor) center / 1.5px 15px no-repeat;
  color: var(--accent);
}
.faq-group details[open] summary::after { background-size: 15px 1.5px, 0 0; }
.faq-group summary:hover { color: var(--accent); }
.faq-answer { max-width: 69ch; color: var(--muted); padding: 0 28px 19px 0; }

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(0, 1.14fr);
  align-items: center;
  gap: clamp(35px, 5vw, 76px);
  padding-block: clamp(63px, 8vw, 116px);
}

@media (prefers-reduced-motion: no-preference) {
  .hero-copy { animation: ease-in .65s both; }
  .featured-project { animation: ease-in .7s .12s both; }
  @keyframes ease-in {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: translateY(0); }
  }
}

@media (max-width: 1020px) {
  .shell { width: calc(100% - 72px); }
  .hero { gap: 30px; }
}
@media (max-width: 760px) {
  .shell { width: calc(100% - 38px); }
  .header-inner { min-height: 70px; }
  .main-nav { gap: 16px; }
  .hero, .services-layout, .case-study-panel, .media-callout, .contact-layout {
    grid-template-columns: 1fr;
  }
  .hero { padding-top: 53px; gap: 39px; }
  .hero-copy, .featured-project { animation: none; }
  .hero h1 { font-size: clamp(43px, 9.8vw, 74px); max-width: 12ch; }
  .hero-description, .section-heading > p:not(.section-label) { margin-top: 19px; }
  .hero .actions, .section-heading .actions { margin-top: 22px; }
  .section-label { margin-bottom: 14px; }
  .contact-layout { padding-block: 53px 65px; }
  .media-callout { gap: 26px; }
  .faq-layout { grid-template-columns: 1fr; gap: 28px; }
  .faq-index { position: static; }
  .faq-index ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 12px; }
  .faq-index a { min-height: 44px; }
}
@media (max-width: 620px) {
  .header-inner { flex-wrap: wrap; gap: 8px; padding-block: 12px 8px; }
  .main-nav { width: 100%; justify-content: space-between; }
}
@media (max-width: 480px) {
  .wordmark { font-size: 25px; }
  .header-inner .brand { display: grid; gap: 4px; justify-items: start; }
  .header-inner .brand-service { padding-left: 0; border: 0; font-size: 13px; line-height: 1; }
  .main-nav { gap: 13px; font-size: 14px; }
  .main-nav .nav-enquire { padding: 0 9px; }
  .main-nav a[aria-current="page"] { box-shadow: 0 0 0 3px var(--accent-wash); }
  .project-stage { aspect-ratio: 1.25; }
  .browser-bar { min-height: 20px; font-size: 9px; }
  .caption-label, .project-caption .text-link { font-size: 14px; }
  .enquiry-band { align-items: flex-start; flex-direction: column; }
  .home-pricing-inner { align-items: flex-start; flex-direction: column; }
  .footer-inner { flex-direction: column; align-items: flex-start; gap: 4px; }
}
@media (max-width: 385px) {
  .header-inner .brand { min-height: 37px; }
  .site-footer nav { gap: 17px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button, .browser-frame, .phone-frame { transition: none; }
  .project-link:hover .browser-frame, .project-link:hover .phone-frame { transform: none; }
}
