/* Include padding and borders within an element's width. */
* {
  box-sizing: border-box;
}

/* The default appearance of the page. */
body {
  margin: 0;
  background: #ffffff;
  color: #090909;
  font-family: "Manrope", sans-serif;
  line-height: 1.6;
}

/* Keep the content aligned, with room around the edges. */
header,
main,
footer {
  width: 90%;
  max-width: 1120px;
  margin-inline: auto;
}
footer p {
  margin: 0;
}

footer a {
  padding-block: 10px;
  color: inherit;
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
  text-underline-offset: 5px;
}

/* Header layout and sticky behaviour */
header {
  padding-block: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  position: sticky;
  top: 0;
  z-index: 100;
  background: #ffffff;
  box-shadow: 0 1px 0 #e5e5e5;
}

header a {
  color: #090909;
  font-size: 24px;
  font-weight: 800;
  text-decoration: none;
}

/* The opening section of the homepage. */
main {
  padding-block: 90px 110px;
}

h1 {
  max-width: 850px;
  margin: 0 0 24px;
  font-size: clamp(36px, 5vw, 68px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.04em;
  color: #090909;
}

main p {
  max-width: 580px;
  margin: 0 0 36px;
  color: #525252;
  font-size: 18px;
}

/* Give the contact link the appearance of a button. */
.button {
  display: inline-block;
  padding: 14px 24px;
  border-radius: 999px;
  background: #ff6b00;
  color: #090909;
  font-weight: 700;
  text-decoration: none;
}

.button:hover {
  background: #fff0de;
}

a:focus-visible {
  outline: 3px solid #090909;
  outline-offset: 5px;
}

footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  padding-block: 24px;
  border-top: 1px solid #e5e5e5;
  color: #525252;
  font-size: 14px;
}
.site-logo {
  display: block;
  width: 160px;
  height: auto;
}
/* Services section */
.services {
  margin-top: 96px;
  padding-top: 48px;
  border-top: 1px solid #e5e5e5;
}

.services h2 {
  margin: 0 0 40px;
  font-size: 32px;
  line-height: 1.2;
  letter-spacing: -0.03em;
}

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

.service-grid h3 {
  margin: 0 0 12px;
  font-size: 20px;
  font-weight: 700;
}

.service-grid p {
  margin: 0;
  font-size: 16px;
}
.site-nav {
  display: flex;
  gap: 24px;
}

.site-nav a {
  padding-block: 12px;
  font-size: 14px;
  font-weight: 600;
}

.site-nav a:hover {
  text-decoration: underline;
  text-underline-offset: 5px;
}
/* Contact section */
.contact {
  margin-top: 96px;
  padding: 48px;
  background: #f4f4f4;
  border-radius: 24px;
}

.contact h2 {
  margin: 0 0 20px;
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.2;
  letter-spacing: -0.03em;
  color: #090909;
}
/* Keep section headings clear of the sticky header. */
#services,
#contact {
  scroll-margin-top: 140px;
}
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  align-items: center;
  gap: 64px;
}

.hero .hero-eyebrow {
  margin-bottom: 24px;
  color: #525252;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero-art {
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  background: #fff0de;
  border-radius: 38% 42% 36% 44%;
}

.hero-art img {
  display: block;
  width: 65%;
  height: auto;
  border-radius: 24%;
  transform: rotate(-5deg);
  box-shadow: 0 18px 40px rgb(9 9 9 / 10%);
}
.service-grid > div {
  padding-top: 24px;
  border-top: 1px solid #e5e5e5;
}

.service-number {
  display: block;
  margin-bottom: 24px;
  color: #737373;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
}

h1,
h2,
h3 {
  color: #090909;
}

@media (max-width: 800px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .hero-art {
    width: min(100%, 320px);
    justify-self: center;
  }
}
/* Smaller screens */
@media (max-width: 600px) {
  header {
    padding-block: 16px;
  }

  .site-logo {
    width: 130px;
  }

  main {
    padding-block: 56px 72px;
  }

  main p {
    font-size: 16px;
  }

  .services {
    margin-top: 64px;
    padding-top: 32px;
  }

  .service-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .contact {
    margin-top: 64px;
    padding: 32px 24px;
  }
}

/* How projects progress */
.process {
  margin-top: 96px;
  padding: 48px;
  background: #fff0de;
  border-radius: 24px;
}

.process h2 {
  margin: 0 0 20px;
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.2;
  letter-spacing: -0.03em;
}

.process .process-intro {
  margin-bottom: 40px;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 32px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.process-number {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  margin-bottom: 20px;
  border-radius: 50%;
  background: #ff6b00;
  color: #090909;
  font-size: 12px;
  font-weight: 700;
}

.process-grid h3 {
  margin: 0 0 12px;
  font-size: 20px;
}

.process-grid p {
  margin: 0;
  font-size: 16px;
}

@media (max-width: 900px) {
  .process-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .process {
    margin-top: 64px;
    padding: 32px 24px;
  }

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

/* A short introduction to the studio */
.studio {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: start;
  gap: 64px;
  margin-top: 96px;
}

.studio .studio-eyebrow {
  margin: 0 0 20px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.studio h2 {
  margin: 0;
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.2;
  letter-spacing: -0.03em;
}

.studio-copy p {
  margin: 0 0 24px;
}

.studio-copy p:last-child {
  margin-bottom: 0;
}

@media (max-width: 800px) {
  .studio {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

@media (max-width: 600px) {
  .studio {
    margin-top: 64px;
  }
}

/* Frequently asked questions */
.faq {
  margin-top: 96px;
}

.faq h2 {
  margin: 0 0 40px;
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.2;
  letter-spacing: -0.03em;
}

.faq-list {
  border-top: 1px solid #e5e5e5;
}

.faq details {
  border-bottom: 1px solid #e5e5e5;
}

.faq summary {
  padding: 24px 8px;
  color: #090909;
  font-size: 18px;
  font-weight: 700;
  cursor: pointer;
}

.faq summary::marker {
  color: #a84400;
}

.faq summary:hover {
  background: #fff0de;
}

.faq summary:focus-visible {
  outline: 3px solid #090909;
  outline-offset: 3px;
}

.faq details p {
  max-width: 760px;
  margin: 0;
  padding: 0 8px 24px;
  font-size: 16px;
}

@media (max-width: 600px) {
  .faq {
    margin-top: 64px;
  }

  .faq summary {
    font-size: 16px;
  }
}

/* Services page */
.page-eyebrow {
  margin-bottom: 24px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.services-intro > p:not(.page-eyebrow) {
  max-width: 640px;
}

.service-detail {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr);
  gap: 64px;
  margin-top: 96px;
  padding-top: 48px;
  border-top: 1px solid #e5e5e5;
}

.service-detail h2 {
  margin: 0 0 20px;
  font-size: clamp(28px, 3vw, 36px);
  line-height: 1.2;
  letter-spacing: -0.03em;
}

.service-detail h3 {
  margin: 0 0 16px;
  font-size: 18px;
}

.service-detail p {
  margin: 0 0 24px;
  font-size: 16px;
}

.service-detail ul {
  margin: 0 0 28px;
  padding-left: 22px;
  color: #525252;
  font-size: 16px;
}

.service-detail li + li {
  margin-top: 10px;
}

.service-detail li::marker {
  color: #a84400;
}

.service-detail .service-scope {
  margin: 0;
  padding: 24px;
  background: #fff0de;
  border-radius: 16px;
}

.site-nav a[aria-current="page"] {
  text-decoration: underline;
  text-underline-offset: 5px;
}

@media (max-width: 800px) {
  .service-detail {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

@media (max-width: 600px) {
  .service-detail {
    margin-top: 64px;
    padding-top: 32px;
  }
}

/* About page introduction */
.about-intro > p:not(.page-eyebrow) {
  max-width: 680px;
}

/* Keep page labels smaller than the main paragraph text. */
main .page-eyebrow {
  font-size: 12px;
}

/* Allow navigation links to wrap on very narrow screens. */
.site-nav {
  flex-wrap: wrap;
  column-gap: 24px;
  row-gap: 0;
}

.contact-intro > p:not(.page-eyebrow) {
  max-width: 640px;
}

.enquiry-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  align-items: start;
  gap: 64px;
  margin-top: 64px;
}

.enquiry-panel {
  padding: 40px;
  background: #f4f4f4;
  border-radius: 24px;
}

.enquiry-panel h2,
.contact-aside h2 {
  margin: 0 0 16px;
  font-size: 28px;
  line-height: 1.2;
  letter-spacing: -0.03em;
}

.enquiry-panel .form-intro {
  margin-bottom: 32px;
  font-size: 16px;
}

.enquiry-form {
  display: grid;
  gap: 24px;
}

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

.form-field {
  min-width: 0;
}

.form-field label {
  display: block;
  margin-bottom: 8px;
  font-size: 14px;
  font-weight: 700;
}

.form-field label span {
  color: #525252;
  font-weight: 400;
}

.form-field input,
.form-field select,
.form-field textarea {
  display: block;
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid #767676;
  border-radius: 10px;
  background: #fff;
  color: #090909;
  font: inherit;
  font-size: 16px;
}

.form-field textarea {
  resize: vertical;
}

.form-field input:focus-visible,
.form-field select:focus-visible,
.form-field textarea:focus-visible {
  outline: 3px solid #090909;
  outline-offset: 3px;
}

.enquiry-form .field-hint {
  margin: 0 0 12px;
  font-size: 14px;
}

.enquiry-form .form-note {
  margin: 0;
  font-size: 14px;
}

.form-note a,
.contact-email {
  color: #090909;
  text-underline-offset: 4px;
  overflow-wrap: anywhere;
}

.enquiry-form .button {
  justify-self: start;
  border: 0;
  font: inherit;
  font-weight: 700;
}

.enquiry-form .button:disabled {
  background: #dedede;
  color: #525252;
  cursor: not-allowed;
}

.contact-aside {
  padding-top: 12px;
}

.contact-aside p {
  font-size: 16px;
}

.contact-email {
  font-size: 18px;
  font-weight: 700;
}

.contact-next {
  margin-top: 40px;
  padding: 28px;
  background: #fff0de;
  border-radius: 20px;
}

.contact-next h3 {
  margin: 0 0 12px;
  font-size: 18px;
}

.contact-next p {
  margin: 0;
}

@media (max-width: 900px) {
  .enquiry-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 600px) {
  .enquiry-layout {
    margin-top: 40px;
  }

  .enquiry-panel {
    padding: 28px 20px;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 1000;
  padding: 12px 20px;
  border-radius: 999px;
  background: #090909;
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  transform: translateY(-200%);
}

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

#main-content {
  scroll-margin-top: 120px;
}

.privacy-page > section > p {
  max-width: 680px;
}

.privacy-page .privacy-updated {
  margin-top: 24px;
  font-size: 14px;
}

.privacy-content {
  max-width: 760px;
  margin-top: 64px;
}

.privacy-content section {
  padding-block: 32px;
  border-top: 1px solid #e5e5e5;
}

.privacy-content h2 {
  margin: 0 0 20px;
  font-size: clamp(22px, 3vw, 28px);
  line-height: 1.3;
  letter-spacing: -0.03em;
}

.privacy-content p {
  max-width: none;
  margin: 0 0 20px;
  font-size: 16px;
}

.privacy-content p:last-child {
  margin-bottom: 0;
}

.privacy-content a {
  color: #090909;
  text-underline-offset: 4px;
  overflow-wrap: anywhere;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

@media (max-width: 600px) {
  .privacy-content {
    margin-top: 40px;
  }
}