/* Studio material sections */
.section-study {
  --sheet: #193b34;
  --drawing-line: #c5d8c9;
  --stone: #c4bba7;
  --light-face: #f3ddad;
  --accent-face: #eea799;
  position: relative;
  display: grid;
  grid-template-rows: auto 1fr auto;
  min-width: 0;
  margin: 0;
  padding: clamp(19px, 2.5vw, 46px);
  color: #f3f3df;
  background: var(--sheet);
}

.study-caption,
.study-key {
  display: flex;
  align-items: center;
  gap: 12px 20px;
}

.study-caption {
  justify-content: space-between;
  padding-bottom: 14px;
  border-bottom: 1px solid #708b7b;
  font-size: .8rem;
}

.study-caption span:first-child { font-weight: 650; }
.study-caption span:last-child { color: #d1dbce; }

.study-drawing {
  position: relative;
  align-self: center;
  width: min(100%, 690px);
  margin: clamp(10px, 1.7vw, 26px) auto;
  aspect-ratio: 2.45;
  background-image: linear-gradient(#c5d7c210 1px, transparent 1px),
    linear-gradient(90deg, #c5d7c210 1px, transparent 1px);
  background-size: 7% 14%;
}

.study-form,
.study-form > i,
.study-pin {
  position: absolute;
}

.study-form { inset: 0; }
.study-form > i { display: block; }

.study-form > i:first-child {
  border: 1px solid #e9dfca;
  background: repeating-linear-gradient(130deg, #6d7666 0 1px, transparent 1px 7px), var(--stone);
}

.study-pin {
  z-index: 1;
  min-width: 20px;
  padding-left: 6px;
  color: #fff5dd;
  font: 600 11px/19px var(--sans);
}

.study-pin::before,
.study-key b {
  width: 20px;
  height: 20px;
  border: 1px solid var(--drawing-line);
  border-radius: 50%;
}

.study-pin::before {
  position: absolute;
  z-index: -1;
  top: 0;
  left: 0;
  background: var(--sheet);
  content: "";
}

.study-pin::after {
  position: absolute;
  top: 20px;
  bottom: 0;
  right: 0;
  left: 9px;
  border-bottom: 1px solid var(--drawing-line);
  border-left: 1px solid var(--drawing-line);
  content: "";
}

.study-key {
  flex-wrap: wrap;
  border-top: 1px solid #708b7b;
  padding-top: 14px;
  font-size: clamp(.78rem, .88vw, 1rem);
  line-height: 1.25;
}

.study-key span { display: inline-flex; align-items: center; gap: 7px; }
.study-key b { display: inline-grid; place-items: center; flex: none; font-size: .65rem; }

.study-clear .study-form > :first-child { inset: 25% 64% 15% 13%; }
.study-clear .study-form > :nth-child(2) {
  inset: 24% 36% 12% 59%;
  background: repeating-linear-gradient(138deg, transparent 0 12px, #d9f0df 13px, transparent 15px 24px), #a2cdbb;
  border: 1px solid #e8f4e8;
}
.study-clear .study-form > :last-child {
  inset: 40% 31% 45% 64%;
  background: var(--accent-face);
  box-shadow: 0 clamp(12px, 1.7vw, 27px) var(--accent-face);
}
.study-clear .pin-a { left: 18%; top: 2%; height: 32%; }
.study-clear .pin-b { left: 43%; top: 5%; width: 19%; height: 23%; }
.study-clear .pin-c { left: 66%; top: 5%; height: 36%; }

.study-relief .study-form > :first-child { inset: 65% 9% 16% 9%; }
.study-relief .study-form > :nth-child(2) {
  inset: 42% 30% 35% 30%;
  background: repeating-linear-gradient(130deg, transparent 0 6px, #c37f71 6px 7px), var(--accent-face);
  border: 1px solid #edc9b3;
}
.study-relief .study-form > :last-child { inset: 41% 30% 53% 30%; background: var(--light-face); }
.study-relief .pin-a { left: 17%; top: 18%; height: 48%; }
.study-relief .pin-b { left: 36%; top: 7%; height: 49%; }
.study-relief .pin-c { left: 63%; top: 10%; height: 32%; }

.study-frame .study-form > :first-child {
  inset: 32% 57% 17% 12%;
  background: repeating-linear-gradient(131deg, #a06f56 0 1px, transparent 1px 6px), #c59372;
  clip-path: polygon(0 0, 65% 0, 100% 28%, 100% 48%, 78% 48%, 78% 85%, 100% 85%, 100% 100%, 0 100%);
}
.study-frame .study-form > :nth-child(2) {
  inset: 56% 32% 37% 37%;
  background: #e4d8b5;
  clip-path: polygon(0 0, 91% 0, 100% 100%, 0 100%);
}
.study-frame .study-form > :last-child {
  inset: 63% 10% 32% 37%;
  border-top: 2px solid var(--accent-face);
  background: #f6efdd;
}
.study-frame .pin-a { left: 19%; top: 4%; height: 32%; }
.study-frame .pin-b { left: 46%; top: 8%; height: 50%; }
.study-frame .pin-c { left: 76%; top: 13%; height: 51%; }

.study-plate .study-form > :first-child {
  inset: 46% 10% 17% 10%;
  background: repeating-linear-gradient(131deg, #9b9987 0 1px, transparent 1px 7px), #e5dbba;
  clip-path: polygon(0 0, 42% 0, 50% 34%, 58% 0, 100% 0, 100% 100%, 0 100%);
}
.study-plate .study-form > :nth-child(2),
.study-plate .study-form > :last-child {
  top: 42%;
  height: 6%;
  border-top: 1px solid #aebcb0;
  background: #0d221d;
}
.study-plate .study-form > :nth-child(2) { left: 10%; width: 34%; clip-path: polygon(0 0, 97% 0, 100% 100%, 0 100%); }
.study-plate .study-form > :last-child { right: 10%; width: 34%; clip-path: polygon(3% 0, 100% 0, 100% 100%, 0 100%); }
.study-plate .pin-a { left: 17%; top: 8%; height: 57%; }
.study-plate .pin-b { left: 31%; top: 2%; height: 41%; }
.study-plate .pin-c { left: 49%; top: 8%; height: 48%; }

.procession-edition {
  background: #f3e4da;
  color: #332a24;
}

.procession-layout {
  display: grid;
  grid-template-columns: minmax(0, .63fr) minmax(0, 1.35fr);
  align-items: center;
  gap: clamp(28px, 5.3vw, 105px);
}

.procession-copy h2,
.visit-heading h2 {
  margin-block: 20px;
  font: 400 clamp(3.65rem, 6.35vw, 7.3rem)/.94 var(--serif);
  letter-spacing: -.049em;
}

.procession-copy h2 em,
.visit-heading h2 em { display: block; }
.procession-copy h2 em { color: #923e41; }
.procession-copy .rule { background: #a74346; }
.procession-copy > p:not(.eyebrow) { max-width: 45ch; color: #51463e; }
.procession-copy .text-link { margin-top: 24px; }

.procession-plate {
  min-width: 0;
  margin: 0;
  padding: clamp(10px, 1.35vw, 24px);
  border: 1px solid #d0b8a7;
  background: #fbf4e9;
}

.procession-plate img {
  display: block;
  width: 100%;
  height: auto;
}

.procession-plate figcaption {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 3px 16px;
  padding-top: 12px;
  font-size: .8125rem;
  color: #64574d;
}

.procession-plate figcaption strong { color: #372c25; font-weight: 600; }
.digital-pair .digital-objects figure img, .digital-pair .ai-brief-example { aspect-ratio: 16/9; }

.visit-edition { background: #183d32; color: #fff9ed; }
.visit-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  gap: clamp(34px, 6.4vw, 125px);
  align-items: center;
}
.visit-heading .rule { background: #f4b0c9; }
.visit-heading h2 em { color: #f8c4d4; }
.visit-address { border-left: 1px solid #7c9880; padding-left: clamp(34px, 5vw, 96px); }
.visit-address address { display: grid; gap: 3px; font-style: normal; color: #e4eee1; }
.visit-address address > strong {
  margin-bottom: 9px;
  color: #fff9ed;
  font: 400 clamp(2.1rem, 3vw, 3.4rem)/1.05 var(--serif);
}
.visit-postcode { display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px; margin-top: 12px; }
.visit-postcode small { font-size: .78rem; }
.visit-postcode > span { font: 500 1rem/1.2 var(--sans); font-variant-numeric: tabular-nums; letter-spacing: .16em; }
.visit-address .text-link { margin-top: 24px; }
.visit-address .text-link:hover { color: #f8c4d4; }

@media (max-width: 900px) and (min-width: 721px) {
  .material-panel { grid-template-columns: 1.1fr 1fr; }
  .material-copy { padding: 25px; }
  .study-drawing { aspect-ratio: 1.8; }
  .study-key { gap: 7px 12px; }
  .procession-layout { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); }
  .procession-copy h2 { font-size: clamp(3.6rem, 7.7vw, 5rem); }
}
@media (max-width: 720px) {
  .section-study { padding: 18px; }
  .study-drawing { aspect-ratio: 2.05; max-width: 470px; }
  .study-key { gap: 7px 14px; }
  .material-tabs button { min-height: 44px; }
  .procession-layout, .visit-layout { grid-template-columns: 1fr; gap: 26px; }
  .procession-copy h2, .visit-heading h2 { font-size: clamp(3.5rem, 10.7vw, 5.2rem); margin-block: 14px 18px; }
  .procession-copy h2 em, .visit-heading h2 em { display: inline; }
  .procession-copy .text-link { margin-top: 18px; }
  .visit-address { border-left: 0; border-top: 1px solid #7c9880; padding: 23px 0 0; }
  .visit-heading h2 { margin-bottom: 0; }
}
@media (max-width: 389px) {
  .study-drawing { aspect-ratio: 1.88; }
  .study-key { gap: 8px; font-size: .75rem; }
  .study-key span { gap: 4px; }
}

.contact-opening .enquire-grid {
  display: grid;
  grid-template-columns: minmax(0, .87fr) minmax(0, 1fr);
  grid-template-areas: "intro form" "channels form";
  gap: clamp(24px, 3vw, 50px) clamp(36px, 8vw, 132px);
  align-items: start;
}
.contact-opening .enquire-copy { grid-area: intro; }
.contact-opening h1 em { color: var(--green); }
.contact-opening .enquire-copy > p:not(.eyebrow) { max-width: 38ch; }
.contact-opening .enquiry-form {
  grid-area: form;
  border-radius: 0;
  border-top: 3px solid var(--green);
  padding: clamp(22px, 3vw, 46px);
}
.contact-opening .enquiry-form h2 { margin-bottom: 22px; }
.contact-opening .enquiry-form label small { color: var(--muted); font-size: .85rem; font-weight: 400; }
.contact-opening #brief-label { margin-bottom: 3px; }
.contact-opening #brief-hint {
  margin: 0 0 9px;
  font-size: .93rem;
  line-height: 1.45;
}
.contact-opening .enquiry-form textarea { min-height: 98px; }
.contact-opening [aria-invalid="true"] { border: 2px solid #9a224a; }
.contact-opening #brief-error { color: #922244; font-size: .9rem; font-weight: 600; margin-top: 7px; }
.contact-opening .handoff-note { max-width: 45ch; font-size: .88rem; }
.contact-channels { grid-area: channels; width: 100%; max-width: 30rem; border-bottom: 1px solid #c1c6ba; }
.contact-channels a {
  min-height: 46px;
  display: grid;
  grid-template-columns: minmax(80px, .58fr) minmax(0, 1fr);
  gap: 8px;
  align-items: baseline;
  padding-block: 11px;
  border-top: 1px solid #c1c6ba;
}
.contact-channels span { color: var(--muted); font-size: .9rem; }
.contact-channels strong { color: var(--green); font-size: 1rem; font-weight: 600; overflow-wrap: anywhere; }
.contact-channels a:hover strong, .contact-channels a:focus-visible strong {
  text-decoration: underline;
  text-underline-offset: 4px;
}
@media (min-width: 721px) and (max-width: 900px) {
  .contact-opening .enquire-grid { grid-template-columns: minmax(0, .78fr) minmax(0, 1fr); gap: 30px; }
  .contact-opening .enquiry-form { padding: 20px; }
  .contact-channels a { grid-template-columns: 1fr; gap: 0; }
}
@media (max-width: 720px) {
  .contact-page .contact-opening { padding-block: 32px 45px; }
  .contact-opening .enquire-grid { grid-template-columns: 1fr; grid-template-areas: "intro" "form" "channels"; gap: 24px; }
  .contact-opening h1 { margin-block: 12px; }
  .contact-opening .enquire-copy > p:not(.eyebrow) { font-size: 1rem; margin-top: 12px; }
  .contact-opening .enquiry-form { padding: 20px; }
  .contact-opening .enquiry-form h2 { margin-bottom: 16px; }
  .contact-channels { max-width: none; }
}

/* The homepage service index leads directly to a brief for the chosen work. */
.home-service-index { background: #f7f5ef; color: #222d27; }
.home-service-index > .shell {
  display: grid; grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr);
  gap: clamp(32px, 6vw, 100px); align-items: start; padding-block: clamp(54px, 6vw, 108px);
}
.home-service-index h2, .home-close h2 {
  margin: 0; font: 400 clamp(3.5rem, 5.5vw, 6.1rem)/.98 var(--serif); letter-spacing: -.042em;
}
.home-service-index h2 em, .home-close h2 em { color: #246044; }
.home-service-heading p, .home-close p {
  font-size: clamp(1rem, 1.1vw, 1.16rem); line-height: 1.55; max-width: 42ch; margin-top: 16px;
}
.home-service-heading .text-link { display: inline-flex; align-items: center; min-height: 44px; margin-top: 8px; }
.home-service-links {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(18px, 2.6vw, 48px);
  list-style: none; padding: 0; margin: 0;
}
.home-service-links li { border-top: 1px solid #c6bfb3; }
.home-service-links a {
  display: flex; align-items: center; min-height: 52px; padding: 11px 0;
  color: #344a40; font-size: clamp(.98rem, 1.15vw, 1.2rem); font-weight: 600; line-height: 1.35;
}
.home-service-links a:is(:hover,:focus-visible) { text-decoration: underline; text-underline-offset: 4px; }
.home-close { background: #e2e8d9; }
.home-close > .shell {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  padding-block: clamp(54px, 6vw, 100px);
}
.home-close section:first-child { padding-right: clamp(24px, 5vw, 86px); }
.home-close section + section { border-left: 1px solid #bdb8a9; padding-left: clamp(24px, 5vw, 86px); }
.home-close-links { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 22px; margin-top: 20px; }
.home-close-links a { display: inline-flex; align-items: center; min-height: 44px; }
@media (max-width: 820px) {
  .home-service-index > .shell { grid-template-columns: 1fr; gap: 18px; }
}
@media (max-width: 650px) {
  .home-service-links a { min-height: 56px; }
  .home-close > .shell { grid-template-columns: 1fr; gap: 28px; }
  .home-close section:first-child { padding-right: 0; }
  .home-close section + section { border: 0; border-top: 1px solid #bdb8a9; padding: 28px 0 0; }
}
