/* ==========================================================================
   Fonts — self-hosted
   Only the four faces this page actually sets, latin subset, woff2 only.
   Served from our own origin: no render-blocking hop to fonts.googleapis.com,
   no second connection to fonts.gstatic.com, and nothing downloaded for
   weights the page never uses. ~57KB total, cached a year by vercel.json.
   ========================================================================== */

@font-face{
  font-family:"Cormorant Garamond";
  font-style:normal; font-weight:400; font-display:swap;
  src:url("fonts/cormorant-garamond-latin-400-normal.woff2") format("woff2");
}
@font-face{
  font-family:"Cormorant Garamond";
  font-style:italic; font-weight:300; font-display:swap;
  src:url("fonts/cormorant-garamond-latin-300-italic.woff2") format("woff2");
}
@font-face{
  font-family:"Poppins";
  font-style:normal; font-weight:300; font-display:swap;
  src:url("fonts/poppins-latin-300-normal.woff2") format("woff2");
}
@font-face{
  font-family:"Poppins";
  font-style:normal; font-weight:400; font-display:swap;
  src:url("fonts/poppins-latin-400-normal.woff2") format("woff2");
}

/* ==========================================================================
   Amami Italia — shared styles
   Palette and type are taken from the brand deck:
   Charcoal Black / Warm Beige / Mist Blue / Tuscan Brown / Medium Rare Red,
   Cormorant Garamond (display) + Poppins (body).
   ========================================================================== */

:root{
  --mist:      #cbd6e3;
  --charcoal:  #161616;
  --beige:     #eee9da;
  --brown:     #462e24;
  --rare:      #812b28;
  /* The page runs on Charcoal with Warm Beige type. Mist Blue and Tuscan
     Brown stay where the deck puts them — the illustration's sky band and
     the careers role cards — so nothing is dropped from the palette. */
  --paper:     var(--charcoal);
  --ink:       var(--beige);
  /* .68 alpha keeps secondary type at 7.4:1 on charcoal — AA for small text */
  --ink-soft:  rgba(238,233,218,.68);
  --rule:      rgba(238,233,218,.20);
  /* Medium Rare Red only reaches 2.3:1 as type on charcoal, so it is used as
     a fill; this lifted tint of it carries the accent where type needs it. */
  --accent:    #c9605a;

  --display: "Cormorant Garamond", "Cormorant", Georgia, "Times New Roman", serif;
  --body:    "Poppins", "Helvetica Neue", Arial, sans-serif;
}

*,*::before,*::after{ box-sizing:border-box; }

html{ color-scheme:dark; -webkit-text-size-adjust:100%; }

body{
  margin:0;
  background:var(--paper);
  color:var(--ink);
  font-family:var(--body);
  font-weight:300;
  -webkit-font-smoothing:antialiased;
}

/* Keyboard users land on a skip link before anything else. */
.skip{
  position:absolute; left:-9999px;
  padding:12px 18px;
  background:var(--beige); color:var(--charcoal);
  font-size:.75rem; letter-spacing:.14em; text-transform:uppercase; text-decoration:none;
  z-index:10;
}
.skip:focus{ left:16px; top:16px; }

/* The letterhead rule spans the column; everything under it is centred,
   the way the page read before. */
.stage{
  max-width:920px;
  margin:0 auto;
  padding-inline:max(24px, env(safe-area-inset-left));
  padding-block:56px 40px;
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:30px;
  text-align:center;
}

/* ---- logo lockup ---- */
/* Mark and wordmark ride together on one baseline, letterhead-style, so the
   brand signs the page without competing with the headline. */
.lockup{
  display:flex;
  align-items:center;
  gap:16px;
  width:100%;
  padding-bottom:22px;
  border-bottom:1px solid var(--rule);
}

.mark{
  width:58px; height:auto; display:block; flex:none;
  /* invert flips the black artwork to light; the sepia/hue pass warms that
     white toward Warm Beige so the mark matches the type beside it. */
  filter:invert(1) sepia(24%) saturate(180%) hue-rotate(350deg) brightness(.97);
}

.wordmark{
  margin:0;
  font-family:var(--body);
  font-weight:400;
  font-size:.78rem;
  letter-spacing:.38em;
  line-height:1;
  color:var(--ink);
}
.wordmark a{ color:inherit; text-decoration:none; }
.wordmark a:focus-visible{ outline:2px solid var(--accent); outline-offset:6px; }


/* A quiet label under the wordmark, e.g. "Careers" */
.eyebrow{
  margin:-22px 0 0;
  font-family:var(--display);
  font-size:1.05rem;
  font-style:italic;
  font-weight:300;
  letter-spacing:.16em;
  text-transform:uppercase;
  color:var(--brown);
}

/* ---- prose ---- */
.notice{
  margin:0;
  max-width:44ch;
  font-family:var(--display);
  font-weight:400;
  font-size:clamp(1.15rem,1rem + 1.1vw,1.6rem);
  line-height:1.5;
  letter-spacing:.055em;
  text-transform:uppercase;
  text-wrap:balance;
}

.lede{
  margin:0;
  max-width:60ch;
  font-size:.95rem;
  line-height:1.75;
  color:var(--ink-soft);
  text-wrap:pretty;
}

.sign{
  margin:-16px 0 0;
  font-family:var(--display);
  font-style:italic;
  font-weight:300;
  font-size:1.05rem;
  letter-spacing:.03em;
  color:var(--ink-soft);
}

/* ---- actions ---- */
.actions{
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  gap:12px;
  width:100%;
  margin-top:4px;
}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:48px;              /* comfortable tap target */
  padding:15px 34px;
  font-family:var(--body);
  font-size:.7rem;
  font-weight:400;
  letter-spacing:.2em;
  text-transform:uppercase;
  text-decoration:none;
  border:1px solid var(--ink);
  transition:background-color .25s ease,color .25s ease,border-color .25s ease;
}
.btn--solid{ background:var(--beige); color:var(--charcoal); }
.btn--solid:hover,.btn--solid:focus-visible{ background:var(--rare); border-color:var(--rare); color:var(--beige); }
.btn--line{ background:transparent; color:var(--ink); border-color:var(--rule); }
.btn--line:hover,.btn--line:focus-visible{ background:var(--rare); border-color:var(--rare); color:var(--beige); }
.btn:focus-visible{ outline:2px solid var(--accent); outline-offset:3px; }

/* Calling is the top task on a phone, secondary on a desktop */
.btn--call{ display:none; }

/* ---- open-now status ---- */
.status{
  margin:0;
  min-height:1.1em;             /* reserve space so JS can't shift the layout */
  font-size:.74rem;
  letter-spacing:.14em;
  text-transform:uppercase;
  color:var(--ink-soft);
}
.status__dot{
  display:inline-block;
  width:7px; height:7px;
  margin-inline-end:8px;
  border-radius:50%;
  background:currentColor;
  vertical-align:.08em;
}
.status[data-state="open"]{ color:var(--accent); }

/* ---- the room ---- */
.scene{ margin:8px 0 0; width:100%; }
/* The artwork's corners are transparent, so a border would draw a rectangle
   the illustration does not fill. Left unframed, those corners fall away into
   the page and the room reads as lit against the dark. */
.scene img{ display:block; width:100%; max-width:100%; height:auto; }

/* ---- roles (careers) ---- */
.roles{
  width:100%;
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
  gap:1px;                       /* hairline grid drawn by the background */
  background:var(--rule);
  border:1px solid var(--rule);
  text-align:left;
}
.role{
  background:var(--mist);
  padding:26px 24px;
  display:flex;
  flex-direction:column;
  gap:8px;
}
.role h3{
  margin:0;
  font-family:var(--display);
  font-weight:500;
  font-size:1.2rem;
  letter-spacing:.06em;
  text-transform:uppercase;
}
.role p{
  margin:0;
  font-size:.82rem;
  line-height:1.7;
  color:var(--ink-soft);
}

/* ---- section heading ---- */
.section-title{
  margin:0;
  font-size:.72rem;
  font-weight:400;
  letter-spacing:.24em;
  text-transform:uppercase;
  color:var(--ink-soft);
}

/* ---- details / footer ---- */
.detail{
  width:100%;
  border-top:1px solid var(--rule);
  padding-top:22px;
  display:flex;
  flex-direction:column;
  gap:6px;
  font-size:.74rem;
  letter-spacing:.11em;
  text-transform:uppercase;
  color:var(--ink-soft);
}
.detail a{
  display:inline-block;
  padding:9px 2px;              /* ≥44px tall hit area */
  color:inherit;
  text-decoration:none;
  border-bottom:1px solid transparent;
  transition:color .2s ease,border-color .2s ease;
}
.detail a:hover,.detail a:focus-visible{ color:var(--accent); border-bottom-color:var(--accent); }
.detail a:focus-visible{ outline:2px solid var(--accent); outline-offset:2px; }
.detail a[aria-current="page"]{ color:var(--ink); border-bottom-color:var(--rule); }
.detail__row{
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  align-items:center;
  gap:0 14px;
}
.sep{ color:rgba(238,233,218,.38); }
.detail__hours{ letter-spacing:.08em; gap:4px 12px; padding-top:6px; }
.detail__hours span{ white-space:nowrap; }
.detail__hours [data-today]{ color:var(--ink); }

/* ==========================================================================
   Phones
   ========================================================================== */
@media (max-width:560px){
  .stage{ padding-block:36px 32px; gap:24px; }
  .mark{ width:46px; }

  .lockup{ gap:12px; padding-bottom:18px; }
  .wordmark{ font-size:.66rem; letter-spacing:.3em; }

  /* Stack the actions full-width so each is an easy, unambiguous tap. */
  .actions{ flex-direction:column; align-items:stretch; gap:10px; max-width:340px; }
  .btn{ width:100%; padding:16px 20px; }
  .btn--call{ display:inline-flex; }

  .roles{ grid-template-columns:1fr; }
  .role{ padding:22px 20px; }

  .detail{ gap:2px; }
  .detail__row{ flex-direction:column; align-items:center; gap:0; }
  .detail__row .sep{ display:none; }
  .detail a{ padding:11px 2px; }
  .detail__hours{
    flex-direction:row; flex-wrap:wrap; justify-content:center;
    gap:4px 10px; font-size:.7rem; padding-top:10px;
  }
  .detail__hours .sep{ display:inline; }
}

@media (prefers-reduced-motion:reduce){
  *{ transition:none !important; }
}

/* ==========================================================================
   Enquiry form
   Lives under the actions row on the holding page. Quiet by default — the
   panel only opens when someone asks for it, so the page stays a held breath.
   ========================================================================== */

.enquire{
  width:100%;
  max-width:560px;
  text-align:left;
  border-top:1px solid var(--rule);
  padding-top:26px;
  display:flex;
  flex-direction:column;
  gap:20px;
  animation:enquire-in .32s ease both;
}
.enquire[hidden]{ display:none; }
.enquire .section-title{ text-align:center; }

@keyframes enquire-in{
  from{ opacity:0; transform:translateY(-6px); }
  to  { opacity:1; transform:none; }
}
@media (prefers-reduced-motion:reduce){
  .enquire{ animation:none; }
}

.form{ display:flex; flex-direction:column; gap:16px; }
.form[hidden]{ display:none; }

.field{ display:flex; flex-direction:column; gap:7px; flex:1 1 0; min-width:0; }
.field-row{ display:flex; gap:14px; }

.field label{
  font-size:.66rem;
  letter-spacing:.18em;
  text-transform:uppercase;
  color:var(--ink-soft);
}
.field .opt{
  letter-spacing:.08em;
  text-transform:none;
  font-style:italic;
  opacity:.7;
}

.field input,
.field select,
.field textarea{
  width:100%;
  min-height:46px;
  padding:12px 14px;
  font-family:var(--body);
  font-size:.9rem;
  font-weight:300;
  color:var(--ink);
  background:rgba(238,233,218,.06);
  border:1px solid var(--rule);
  border-radius:0;
  transition:border-color .2s ease, background-color .2s ease;
  -webkit-appearance:none;
  appearance:none;
}
.field textarea{ min-height:112px; resize:vertical; line-height:1.65; }

/* the caret, drawn rather than borrowed, so it matches the palette */
.field select{
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%23eee9da' stroke-width='1.2'/%3E%3C/svg%3E");
  background-repeat:no-repeat;
  background-position:right 14px center;
  padding-right:36px;
}

.field input:hover,
.field select:hover,
.field textarea:hover{ border-color:rgba(238,233,218,.42); }

.field input:focus,
.field select:focus,
.field textarea:focus{
  outline:none;
  background:rgba(238,233,218,.11);
  border-color:var(--ink-soft);
  box-shadow:0 0 0 2px rgba(238,233,218,.14);
}

.field input::placeholder,
.field textarea::placeholder{ color:rgba(238,233,218,.38); }

/* honeypot — present for bots, gone for everyone else */
.hp{ position:absolute; left:-9999px; width:1px; height:1px; overflow:hidden; }

.form-submit{ align-self:flex-start; margin-top:4px; }
.form-submit[disabled]{ opacity:.6; cursor:progress; }

.form-note{
  margin:0;
  font-size:.72rem;
  line-height:1.6;
  letter-spacing:.04em;
  color:var(--ink-soft);
}
.form-note a{ color:inherit; text-decoration:underline; text-underline-offset:3px; }
.form-note a:hover{ color:var(--accent); }

.form-error{
  margin:0;
  padding:11px 14px;
  font-size:.78rem;
  line-height:1.6;
  color:var(--accent);
  background:rgba(201,96,90,.1);
  border-left:2px solid var(--accent);
}
.form-error[hidden]{ display:none; }

.form-done{
  margin:0;
  padding:22px 20px;
  font-family:var(--display);
  font-size:1.15rem;
  font-weight:400;
  letter-spacing:.05em;
  line-height:1.55;
  text-align:center;
  color:var(--ink);
  border:1px solid var(--rule);
  background:rgba(238,233,218,.06);
}
.form-done[hidden]{ display:none; }

@media (max-width:560px){
  .enquire{ padding-top:22px; gap:16px; }
  .field-row{ flex-direction:column; gap:16px; }
  .form-submit{ align-self:stretch; }
}
