/* Shared colours, spacing and typography */
:root {
  --paper: #f7f7f3;
  --ink: #252825;
  --muted: #62675f;
  --line: #dcded6;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-underline-offset: 5px;
}

a:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 6px;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

figure {
  margin: 0;
}

.wrap {
  width: min(1120px, calc(100% - 80px));
  margin: 0 auto;
}

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

h1, h2, h3 {
  font-weight: 400;
}

h1 {
  font-size: clamp(38px, 5vw, 64px);
  line-height: 1.12;
  letter-spacing: -2.4px;
  margin-bottom: 24px;
}

h2 {
  font-size: 28px;
  line-height: 1.25;
  letter-spacing: -0.7px;
  margin-bottom: 22px;
}

h3 {
  font-size: 21px;
  line-height: 1.35;
  letter-spacing: -0.3px;
  margin-bottom: 14px;
}

p, li {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.8;
}

p {
  margin-bottom: 20px;
}

/* Header and navigation */
header {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

header .wrap {
  min-height: 100px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
}

.logo {
  width: 165px;
}

nav {
  display: flex;
  gap: 32px;
}

nav a {
  font-size: 14px;
  text-decoration: none;
  padding: 10px 0;
}

nav a:hover, nav a[aria-current="page"] {
  text-decoration: underline;
}

/* Homepage banner: change position here to adjust the photograph. */
.home-banner {
  background-color: #272827;
  background-image:
    linear-gradient(90deg, rgba(0, 0, 0, 0.76), rgba(0, 0, 0, 0.43)),
    url("/assets/irb01.webp");
  background-size: cover;
  background-position: center 55%;
  background-repeat: no-repeat;
  color: #fff;
}

.banner-content {
  padding-top: 94px;
  padding-bottom: 90px;
}

.home-banner h1 {
  max-width: 850px;
}

.intro-bottom p {
  max-width: 610px;
  color: #eeefeb;
  margin-bottom: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  gap: 28px;
  border: 1px solid var(--ink);
  padding: 14px 20px;
  color: var(--ink);
  text-decoration: none;
  font-size: 14px;
}

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

.home-banner .button {
  color: #fff;
  border-color: #b7bab4;
}

.home-banner .button:hover {
  color: var(--ink);
  background: var(--paper);
}

/* Homepage company introduction */
.about {
  padding: 70px 0;
}

.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  align-items: center;
  gap: 60px;
}

.about-grid img {
  width: 100%;
  height: auto;
}

.about-grid p:last-child {
  margin-bottom: 0;
}

/* Inner page headings */
.page-head {
  padding: 64px 0 38px;
}

.page-head h1 {
  font-size: clamp(36px, 4.5vw, 54px);
  margin-bottom: 18px;
}

.page-head p {
  margin-bottom: 0;
  max-width: 660px;
}

/* Services */
.service {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 60px;
  padding: 28px 0;
  border-top: 1px solid var(--line);
}

.service p, .service h3 {
  margin-bottom: 0;
}

.postservice {
  max-width: 730px;
}

#main > .wrap > .section:last-child {
  border-top: 1px solid var(--line);
  margin-top: 12px;
  padding: 38px 0 64px;
}

.section-title h2 {
  margin-bottom: 18px;
}

/* Contact: one email action and one concise checklist. */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 90px;
  padding: 0 0 38px;
}

.email {
  display: inline-block;
  font-size: clamp(26px, 3vw, 36px);
  letter-spacing: -1px;
  margin: 0 0 22px;
}

.enquiry-details h2 {
  font-size: 21px;
  margin-bottom: 15px;
}

.enquiry-details ul {
  padding-left: 19px;
  margin: 0;
}

.enquiry-details li {
  padding-left: 3px;
  margin-bottom: 7px;
}

.shipping-note {
  border-top: 1px solid var(--line);
  padding: 30px 0 48px;
}

.shipping-note p {
  max-width: 760px;
  margin-bottom: 0;
}

/* Footer */
footer {
  border-top: 1px solid var(--line);
  padding: 27px 0;
}

footer .wrap {
  display: flex;
  justify-content: center;
  gap: 24px;
  color: var(--muted);
  font-size: 12px;
}

.skip {
  position: absolute;
  top: -100px;
  left: 12px;
  z-index: 10;
  padding: 12px;
  background: #fff;
}

.skip:focus {
  top: 12px;
}

/* Narrow screens */
@media (max-width: 760px) {
  .wrap {
    width: calc(100% - 40px);
  }

  header .wrap {
    min-height: 84px;
    flex-wrap: wrap;
    gap: 15px;
    padding-top: 18px;
    padding-bottom: 18px;
  }

  .logo {
    width: 125px;
  }

  nav {
    gap: 20px;
  }

  nav a {
    font-size: 13px;
  }

  h1 {
    font-size: clamp(30px, 6.8vw, 46px);
    letter-spacing: -1.2px;
    overflow-wrap: anywhere;
  }

  .banner-content {
    padding-top: 62px;
    padding-bottom: 60px;
  }

  .home-banner {
    background-position: 58% center;
  }

  .about {
    padding: 42px 0;
  }

  .about-grid, .service, .contact-grid {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .page-head {
    padding: 42px 0 28px;
  }

  .service {
    gap: 12px;
    padding: 24px 0;
  }

  .contact-grid {
    gap: 32px;
  }

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

/* Service headings and postservice spacing */
.service-title {
  font-size: 21px;
  letter-spacing: -0.3px;
  margin-bottom: 0;
}

.post-section {
  border-top: 1px solid var(--line);
  padding: 38px 0 64px;
}

/* Compact banners share the homepage photograph and overlay. */
.inner-banner .wrap {
  min-height: 250px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 40px;
  padding-bottom: 40px;
}

.inner-banner h1 {
  font-size: clamp(36px, 4.5vw, 54px);
  margin-bottom: 16px;
}

.inner-banner p {
  max-width: 660px;
  color: #eeefeb;
  margin-bottom: 0;
}

.inner-content {
  padding-top: 48px;
}

@media (max-width: 760px) {
  .inner-banner .wrap {
    min-height: 210px;
    padding-top: 36px;
    padding-bottom: 36px;
  }

  .inner-content {
    padding-top: 32px;
  }
}

/* Contact form */
#form-heading {
  font-size: 24px;
  margin-bottom: 26px;
}

.form-field {
  margin-bottom: 22px;
}

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

.optional {
  color: var(--muted);
}

.form-field input, .form-field textarea {
  display: block;
  width: 100%;
  border: 1px solid #aeb3a8;
  border-radius: 0;
  background: transparent;
  color: var(--ink);
  padding: 12px;
  font: inherit;
  line-height: 1.5;
}

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

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

.field-hint, .form-note {
  font-size: 13px;
  line-height: 1.6;
}

.field-hint {
  margin-bottom: 10px;
}

button.button {
  font-family: inherit;
  background: transparent;
  cursor: pointer;
}

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

button.button:disabled {
  opacity: 0.5;
  cursor: wait;
}

.form-status {
  margin: 18px 0 0;
  font-size: 14px;
}

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

.form-status[data-error] {
  color: #922d24;
}

/* Service photos */
.service-list .service {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: 48px;
  padding: 36px 0;
}
.service-copy { min-width: 0; }
.service-list .service-title { margin-bottom: 18px; }
.service-photo { margin: 0; }
.service-photo img { width: 100%; height: auto; }
@media (max-width: 760px) {
  .service-list .service {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
    padding: 28px 0;
  }
}

