/* Inter (SIL Open Font License, see src/fonts/OFL.txt). One variable font
   file covers every weight; it's upright only and limited to Latin
   characters to keep it small. */
@font-face {
  font-family: "Inter";
  src: url(cfd0a00f6ad18e21e6ac.woff2) format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --page-background: #fefbf6;
  --text-colour: #3d1506;
  --logo-brown: #571902; /* the brown in the logo */
}

body {
  background-color: var(--page-background);
  color: var(--text-colour);
}

* {
  box-sizing: border-box;
  border: 0px;
  padding: 0px;
  margin: 0px;
  font-family: "Inter", system-ui, sans-serif;
}

/* Stop links to page sections (e.g. #about) landing under the fixed header */
html {
  scroll-padding-top: 120px;
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

/* Hidden visually but still read by screen readers and search engines */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

/* text styles */

.page-title {
  font-size: 2rem;
  font-weight: 400;
}

.para-small {
  font-size: 1.1rem;
}

.para-mid {
  font-size: 1.3rem;
}

.head-mid {
  font-size: 1.5rem;
}

.list-small > * {
  font-size: 1.2rem;
}

/* Header */

.head-container {
  display: flex;
  justify-content: center;
  padding: 1rem 1.4rem;
  background-color: var(--page-background);
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  z-index: 1000;
}

/* Navigation bar */

.nav-container {
  display: flex;
  align-items: center;
  gap: 1rem;
  justify-content: space-between;
  width: 100%;
}

.nav-buttons {
  display: flex;
  justify-content: center;
  width: max-content;
  gap: 3rem;
  list-style: none;
}

.logo img {
  display: block;
  height: 66px;
  width: auto;
}

.nav-btn {
  background: none;
  width: fit-content;
  white-space: nowrap;
  font-size: 1rem;
  color: var(--text-colour);
  cursor: pointer;
}

.nav-btn:hover {
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

/* Mobile menu button (hamburger that turns into a cross when open) */

.nav-menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  background: none;
  cursor: pointer;
}

.nav-menu-icon,
.nav-menu-icon::before,
.nav-menu-icon::after {
  display: block;
  width: 1.5rem;
  height: 2px;
  background-color: var(--text-colour);
  transition: transform 0.2s ease;
}

.nav-menu-icon {
  position: relative;
}

.nav-menu-icon::before,
.nav-menu-icon::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-menu-icon::before {
  top: -7px;
}

.nav-menu-icon::after {
  top: 7px;
}

.nav-menu-toggle[aria-expanded="true"] .nav-menu-icon {
  background-color: transparent;
}

.nav-menu-toggle[aria-expanded="true"] .nav-menu-icon::before {
  transform: translateY(7px) rotate(45deg);
}

.nav-menu-toggle[aria-expanded="true"] .nav-menu-icon::after {
  transform: translateY(-7px) rotate(-45deg);
}

a {
  color: var(--text-colour);
  text-decoration: none;
}

/* Links within body text */
.text-link {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.content-container {
  padding-top: 110px; /* accounts for fixed header */
  display: flex;
  flex-direction: column;
  gap: 80px;
  /* At least full screen height, so short pages can push the footer down.
     dvh allows for mobile browser toolbars; vh is the fallback. */
  min-height: 100vh;
  min-height: 100dvh;
}

/* Mobile site styles */

@media (max-width: 900px) {
  .content-container {
    gap: 30px;
  }

  .head-container {
    padding: 0.8rem 1rem;
  }

  .logo img {
    height: 60px;
  }

  .nav-menu-toggle {
    display: flex;
  }

  /* Menu panel drops down below the fixed header */
  .nav-buttons {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    flex-direction: column;
    gap: 1.2rem;
    padding: 1rem 1rem 1.5rem;
    background-color: var(--page-background);
    border-bottom: 1px solid var(--text-colour);
  }

  .nav-menu-toggle[aria-expanded="true"] + .nav-buttons {
    display: flex;
  }

  .nav-btn {
    font-size: 1.1rem;
  }
}

/* Footer */

/* Takes up any spare space above it, keeping it at the bottom of the screen
   on short pages */
.footer-container {
  margin-top: auto;
}

.address-bar a {
  color: inherit;
}

.address-bar a:hover {
  text-decoration: underline;
}

.address-bar {
  background-color: var(--logo-brown);
  color: var(--page-background);
  padding: 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

/* Practice (landing page) */

/* Two equal columns: small heading on the left, text from the middle of the
   screen to the right edge */
.practice-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding: 0 1.4rem;
}

.practice-text {
  grid-column: 2;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.practice-top {
  padding-top: 2rem;
}

.practice-intro {
  gap: 1.5rem;
  font-size: 1.8rem;
  line-height: 1.35;
}

.practice-quote {
  padding-left: 1rem;
  border-left: 2px solid var(--text-colour);
  font-size: 1.3rem;
}

/* Slightly larger than the body paragraphs (1.3rem) */
.practice-heading {
  font-size: 1.45rem;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding-top: 0.3rem;
}

.practice-banner {
  padding: 0 1.4rem;
}

.practice-banner img {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 1; /* cropped shallow on desktop */
  object-fit: cover;
}

.practice-gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.8rem;
  padding: 0 1.4rem;
}

.practice-gallery img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

@media (max-width: 900px) {
  .practice-row {
    grid-template-columns: 1fr;
    gap: 0.8rem;
  }

  .practice-text {
    grid-column: auto;
  }

  .practice-intro {
    font-size: 1.4rem;
  }

  /* Taller crops on smaller screens, where the images are narrower */
  .practice-banner img {
    aspect-ratio: 21 / 9;
  }

  .practice-gallery img {
    aspect-ratio: 2 / 3;
  }
}

@media (max-width: 600px) {
  .practice-gallery {
    grid-template-columns: repeat(2, 1fr);
  }
}

.projects-head-container {
  padding-left: 1.4rem;
  padding-right: 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 5px;
  width: 50%;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem 0.5rem;
  padding-left: 1.4rem;
  padding-right: 1.4rem;
}

.project-card img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.project-text {
  display: flex;
  justify-content: space-between;
  gap: 5px;
}

.project-text > .list-small {
  text-align: right;
}

.projects-container {
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
}

.project-card {
  display: block;
  transition: transform 0.3s ease;
}

.project-card img {
  transition: opacity 0.3s ease;
}

.project-card:hover img {
  opacity: 0.75;
}

.project-card:hover {
  transform: translateY(-4px);
}

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

@media (max-width: 600px) {
  .projects-grid {
    grid-template-columns: 1fr;
  }
}

/* Project pages */

.project-container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 60px;
}

.project-hero {
  width: 100%;
}

.project-hero-img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.project-header {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.project-header h1 {
  font-size: 2.8rem;
  font-weight: 400;
}

.project-facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 20px;
  padding: 20px 0;
  border-top: 1px solid var(--text-colour);
  border-bottom: 1px solid var(--text-colour);
}

.project-facts dt {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.project-facts dd {
  font-size: 1.1rem;
}

.project-overview,
.project-details {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 800px;
}

.project-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.gallery-img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.project-back {
  margin-bottom: 30px;
}

.back-button {
  display: inline-block;
  padding: 12px 24px;
  border: 2px solid var(--text-colour);
  color: var(--text-colour);
  text-decoration: none;
  transition: 0.3s;
}

.back-button:hover {
  background-color: var(--text-colour);
  color: var(--page-background);
  text-decoration: none;
}

[data-fs-error],
[data-fs-success] {
  display: none;
}

[data-fs-error][data-fs-active],
[data-fs-success][data-fs-active] {
  display: block;
}

.field-error,
.form-error {
  color: #a00000;
  font-size: 0.9rem;
}

.form-success {
  font-size: 1rem;
}

@media (max-width: 900px) {
  .project-container {
    gap: 40px;
  }

  .projects-head-container {
    width: 70%;
  }

  .project-header h1 {
    font-size: 2.2rem;
  }

  .project-gallery {
    grid-template-columns: 1fr;
  }
}

/* Services */

.services-container {
  padding: 0 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.services-head-container {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-width: 800px;
}

.service {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 800px;
  padding-top: 20px;
  border-top: 1px solid var(--text-colour);
}

.service-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding-left: 1.4rem;
  font-size: 1.1rem;
}

@media (max-width: 900px) {
  .services-container {
    gap: 30px;
  }
}

/* Sketchbook */

.sketchbook-container {
  padding: 0 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
}

.sketchbook-head-container {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-width: 800px;
}

/* Masonry-style columns so sketches keep their own proportions */
.sketchbook-grid {
  columns: 3 260px;
  column-gap: 1.4rem;
}

.sketch {
  break-inside: avoid;
  margin-bottom: 1.4rem;
}

.sketch img {
  display: block;
  width: 100%;
}

.sketch figcaption {
  padding-top: 0.5rem;
  font-size: 0.95rem;
}

/* Contact form */

.contact-container {
  padding: 0 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.contact-head-container {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.contact-head-container h1 {
  font-size: 2rem;
  font-weight: 400;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 10px 0;
  font-size: 1.1rem;
}

.contact-details div {
  display: flex;
  gap: 1rem;
}

.contact-details dt {
  width: 4.5rem;
  flex-shrink: 0;
}

.contact-details a {
  text-decoration: underline;
  text-underline-offset: 3px;
  overflow-wrap: anywhere;
}

/* Left half of the page on desktop; full width below 900px */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 50%;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-field label {
  font-size: 1rem;
}

.form-field input,
.form-field textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid var(--text-colour);
  font-size: 1rem;
  color: var(--text-colour);
  background-color: white;
}

.form-field textarea {
  resize: vertical;
  min-height: 180px;
}

.form-field input:focus,
.form-field textarea:focus {
  outline: 2px solid var(--text-colour);
  outline-offset: 2px;
}

.form-submit {
  width: fit-content;
  padding: 12px 24px;
  border: 2px solid var(--text-colour);
  background-color: var(--text-colour);
  color: var(--page-background);
  font-size: 1rem;
  cursor: pointer;
  transition: 0.3s;
}

.form-submit:hover {
  background-color: var(--page-background);
  color: var(--text-colour);
}

.form-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.form-success {
  font-size: 1rem;
}

.form-error,
.field-error {
  color: #a00000;
  font-size: 0.9rem;
}

@media (max-width: 900px) {
  .contact-container {
    gap: 20px;
  }

  .contact-form {
    width: 100%;
  }

  .contact-head-container h1 {
    font-size: 1.75rem;
  }

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


/*# sourceMappingURL=app.87039111.css.map*/